Guest is a shadcn/ui theme built around a light orange primary color (#f5f1ea) with light blue accents (#eaeef5). The light mode uses a neutral background (#fdfbf7). Dark mode keeps the light orange primary (#f5f1ea) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbf7snow | #000000black |
| Foreground | #040301black | #fdfdfcwhite |
| Card | #fdfbf7snow | #000000black |
| Card foreground | #040301black | #fdfdfcwhite |
| Popover | #fdfbf7snow | #000000black |
| Popover foreground | #040301black | #fdfdfcwhite |
| Primary | #f5f1ealinen | #f5f1ealinen |
| Primary foreground | #312717black | #312717black |
| Secondary | #eaeef5lavender | #eaeef5lavender |
| Secondary foreground | #374f76darkslateblue | #374f76darkslateblue |
| Muted | #dde0e3gainsboro | #1c1e22black |
| Muted foreground | #576070dimgray | #8f99a8darkgray |
| Accent | #eaeef5lavender | #eaeef5lavender |
| Accent foreground | #374f76darkslateblue | #374f76darkslateblue |
| Destructive | #993c0asaddlebrown | #f37e3fcoral |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f5f1ealinen | #f5f1ealinen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.88:1 | AAA |
| Text on card | 19.88:1 | AAA |
| Primary button | 13.02:1 | AAA |
| Secondary button | 7.12:1 | AAA |
| Muted text | 4.77:1 | AA |
| Accent | 7.12:1 | AAA |
| Destructive | 6.96:1 | AA |
| Text on background | 20.63:1 | AAA |
| Text on card | 20.63:1 | AAA |
| Primary button | 13.02:1 | AAA |
| Secondary button | 7.12:1 | AAA |
| Muted text | 5.80:1 | AA |
| Accent | 7.12:1 | AAA |
| Destructive | 7.86:1 | AAA |
Paste this into your globals.css to use Guest in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.005 79.925);
--foreground: oklch(0.098 0.014 88.435);
--muted: oklch(0.905 0.006 259.941);
--muted-foreground: oklch(0.488 0.028 259.902);
--popover: oklch(0.987 0.005 79.925);
--popover-foreground: oklch(0.098 0.014 88.435);
--card: oklch(0.987 0.005 79.925);
--card-foreground: oklch(0.098 0.014 88.435);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.959 0.01 79.914);
--primary-foreground: oklch(0.278 0.03 78.888);
--secondary: oklch(0.949 0.01 259.944);
--secondary-foreground: oklch(0.428 0.071 259.6);
--accent: oklch(0.949 0.01 259.944);
--accent-foreground: oklch(0.428 0.071 259.6);
--destructive: oklch(0.479 0.137 42.88);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.959 0.01 79.914);
--chart-1: oklch(0.959 0.01 79.914);
--chart-2: oklch(0.949 0.01 259.944);
--chart-3: oklch(0.949 0.01 259.944);
--chart-4: oklch(0.975 0.005 259.94);
--chart-5: oklch(0.96 0.011 79.912);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.002 79.931);
--muted: oklch(0.234 0.008 259.938);
--muted-foreground: oklch(0.679 0.026 259.934);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.993 0.002 79.931);
--card: oklch(0 0 0);
--card-foreground: oklch(0.993 0.002 79.931);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.959 0.01 79.914);
--primary-foreground: oklch(0.278 0.03 78.888);
--secondary: oklch(0.949 0.01 259.944);
--secondary-foreground: oklch(0.428 0.071 259.6);
--accent: oklch(0.949 0.01 259.944);
--accent-foreground: oklch(0.428 0.071 259.6);
--destructive: oklch(0.715 0.162 46.582);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.959 0.01 79.914);
--chart-1: oklch(0.959 0.01 79.914);
--chart-2: oklch(0.949 0.01 259.944);
--chart-3: oklch(0.949 0.01 259.944);
--chart-4: oklch(0.975 0.005 259.94);
--chart-5: oklch(0.96 0.011 79.912);
}