Empty is a shadcn/ui theme built around a vivid green primary color (#c5f278) with vivid green accents (#88f278). The light mode uses a neutral background (#fdfdfc). Dark mode keeps the vivid green primary (#c5f278) on a neutral background (#030401).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfdfcwhite | #030401black |
| Foreground | #090c03black | #fafbf9snow |
| Card | #fdfdfcwhite | #030401black |
| Card foreground | #090c03black | #fafbf9snow |
| Popover | #fdfdfcwhite | #030401black |
| Popover foreground | #090c03black | #fafbf9snow |
| Primary | #c5f278khaki | #c5f278khaki |
| Primary foreground | #223305darkgreen | #223305darkgreen |
| Secondary | #f2e278khaki | #f2e278khaki |
| Secondary foreground | #332d05black | #332d05black |
| Muted | #e8e8e3gainsboro | #1c1c17black |
| Muted foreground | #585855dimgray | #aaaaa7darkgray |
| Accent | #88f278lightgreen | #88f278lightgreen |
| Accent foreground | #0b3305darkgreen | #0b3305darkgreen |
| Destructive | #650101maroon | #fd0d0dred |
| Destructive foreground | #fe9a9alightsalmon | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c5f278khaki | #c5f278khaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.38:1 | AAA |
| Text on card | 19.38:1 | AAA |
| Primary button | 10.62:1 | AAA |
| Secondary button | 10.50:1 | AAA |
| Muted text | 5.79:1 | AA |
| Accent | 10.11:1 | AAA |
| Destructive | 6.61:1 | AA |
| Text on background | 19.80:1 | AAA |
| Text on card | 19.80:1 | AAA |
| Primary button | 10.62:1 | AAA |
| Secondary button | 10.50:1 | AAA |
| Muted text | 7.36:1 | AAA |
| Accent | 10.11:1 | AAA |
| Destructive | 4.02:1 | AA Large |
Paste this into your globals.css to use Empty in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 122.966);
--foreground: oklch(0.147 0.022 122.699);
--muted: oklch(0.929 0.007 99.445);
--muted-foreground: oklch(0.46 0.005 99.494);
--popover: oklch(0.994 0.002 122.966);
--popover-foreground: oklch(0.147 0.022 122.699);
--card: oklch(0.994 0.002 122.966);
--card-foreground: oklch(0.147 0.022 122.699);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.905 0.159 126.048);
--primary-foreground: oklch(0.297 0.072 128.077);
--secondary: oklch(0.905 0.129 100.692);
--secondary-foreground: oklch(0.296 0.057 100.243);
--accent: oklch(0.871 0.189 141.087);
--accent-foreground: oklch(0.284 0.086 141.017);
--destructive: oklch(0.319 0.13 29.04);
--destructive-foreground: oklch(0.789 0.12 20.109);
--ring: oklch(0.905 0.159 126.048);
--chart-1: oklch(0.905 0.159 126.048);
--chart-2: oklch(0.905 0.129 100.692);
--chart-3: oklch(0.871 0.189 141.087);
--chart-4: oklch(0.914 0.118 100.672);
--chart-5: oklch(0.91 0.163 126.153);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.102 0.015 122.398);
--foreground: oklch(0.986 0.002 122.961);
--muted: oklch(0.224 0.009 99.91);
--muted-foreground: oklch(0.736 0.004 99.427);
--popover: oklch(0.102 0.015 122.398);
--popover-foreground: oklch(0.986 0.002 122.961);
--card: oklch(0.102 0.015 122.398);
--card-foreground: oklch(0.986 0.002 122.961);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.905 0.159 126.048);
--primary-foreground: oklch(0.297 0.072 128.077);
--secondary: oklch(0.905 0.129 100.692);
--secondary-foreground: oklch(0.296 0.057 100.243);
--accent: oklch(0.871 0.189 141.087);
--accent-foreground: oklch(0.284 0.086 141.017);
--destructive: oklch(0.626 0.253 28.913);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.905 0.159 126.048);
--chart-1: oklch(0.905 0.159 126.048);
--chart-2: oklch(0.905 0.129 100.692);
--chart-3: oklch(0.871 0.189 141.087);
--chart-4: oklch(0.914 0.118 100.672);
--chart-5: oklch(0.91 0.163 126.153);
}