Everything is a shadcn/ui theme built around a near-white primary color (#fefaf6) with muted light orange accents (#d9cbbf). The light mode uses a neutral background (#ffffff). Dark mode keeps the near-white primary (#fefaf6) on an orange-tinted background (#100a05).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #100a05black |
| Foreground | #080502black | #fbfaf9snow |
| Card | #ffffffwhite | #100a05black |
| Card foreground | #080502black | #fbfaf9snow |
| Popover | #ffffffwhite | #100a05black |
| Popover foreground | #080502black | #fbfaf9snow |
| Primary | #fefaf6snow | #fefaf6snow |
| Primary foreground | #532b09saddlebrown | #532b09saddlebrown |
| Secondary | #e9e3ddgainsboro | #1d1916black |
| Secondary foreground | #59493bdarkolivegreen | #bcb2a9darkgray |
| Muted | #f5f2f0whitesmoke | #0f0d0ablack |
| Muted foreground | #565452dimgray | #adaba9darkgray |
| Accent | #d9cbbflightgrey | #302821darkslategray |
| Accent foreground | #403226darkslategray | #cdc1b7silver |
| Destructive | #781802maroon | #fb4f28tomato |
| Destructive foreground | #fdbdaflightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fefaf6snow | #fefaf6snow |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.33:1 | AAA |
| Text on card | 20.33:1 | AAA |
| Primary button | 11.74:1 | AAA |
| Secondary button | 6.73:1 | AA |
| Muted text | 6.76:1 | AA |
| Accent | 7.79:1 | AAA |
| Destructive | 6.77:1 | AA |
| Text on background | 18.89:1 | AAA |
| Text on card | 18.89:1 | AAA |
| Primary button | 11.74:1 | AAA |
| Secondary button | 8.36:1 | AAA |
| Muted text | 8.49:1 | AAA |
| Accent | 8.17:1 | AAA |
| Destructive | 3.37:1 | AA Large |
Paste this into your globals.css to use Everything in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.118 0.014 72.737);
--muted: oklch(0.963 0.004 64.036);
--muted-foreground: oklch(0.447 0.003 63.992);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.118 0.014 72.737);
--card: oklch(1 0 180);
--card-foreground: oklch(0.118 0.014 72.737);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.986 0.007 64);
--primary-foreground: oklch(0.337 0.074 56.467);
--secondary: oklch(0.918 0.01 63.956);
--secondary-foreground: oklch(0.417 0.031 63.016);
--accent: oklch(0.851 0.023 63.736);
--accent-foreground: oklch(0.33 0.029 62.731);
--destructive: oklch(0.375 0.134 33.538);
--destructive-foreground: oklch(0.854 0.077 32.968);
--ring: oklch(0.986 0.007 64);
--chart-1: oklch(0.986 0.007 64);
--chart-2: oklch(0.918 0.01 63.956);
--chart-3: oklch(0.851 0.023 63.736);
--chart-4: oklch(0.94 0.007 63.996);
--chart-5: oklch(0.986 0.007 63.997);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.15 0.016 67.963);
--foreground: oklch(0.985 0.002 64.068);
--muted: oklch(0.159 0.006 63.552);
--muted-foreground: oklch(0.741 0.003 64.037);
--popover: oklch(0.15 0.016 67.963);
--popover-foreground: oklch(0.985 0.002 64.068);
--card: oklch(0.15 0.016 67.963);
--card-foreground: oklch(0.985 0.002 64.068);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.986 0.007 64);
--primary-foreground: oklch(0.337 0.074 56.467);
--secondary: oklch(0.217 0.008 63.634);
--secondary-foreground: oklch(0.769 0.016 63.814);
--accent: oklch(0.285 0.017 63.264);
--accent-foreground: oklch(0.818 0.019 63.782);
--destructive: oklch(0.664 0.214 33.87);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.986 0.007 64);
--chart-1: oklch(0.986 0.007 64);
--chart-2: oklch(0.217 0.008 63.634);
--chart-3: oklch(0.285 0.017 63.264);
--chart-4: oklch(0.251 0.009 63.591);
--chart-5: oklch(0.986 0.007 63.997);
}