Ill-fated is a shadcn/ui theme built around a vivid light green primary color (#dcfadb) with muted light green accents (#b9ccb8). The light mode uses a neutral background (#f7fdf7). Dark mode keeps the vivid light green primary (#dcfadb) on a green-tinted background (#040b04).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdf7mintcream | #040b04black |
| Foreground | #000000black | #f5faf5whitesmoke |
| Card | #f7fdf7mintcream | #040b04black |
| Card foreground | #000000black | #f5faf5whitesmoke |
| Popover | #f7fdf7mintcream | #040b04black |
| Popover foreground | #000000black | #f5faf5whitesmoke |
| Primary | #dcfadbbeige | #dcfadbbeige |
| Primary foreground | #093607darkgreen | #093607darkgreen |
| Secondary | #d7dbd6gainsboro | #1a1e1ablack |
| Secondary foreground | #3c443cdarkslategray | #b0bab0darkgray |
| Muted | #daedd9gainsboro | #132612black |
| Muted foreground | #40553fdarkslategray | #abc0aadarkgray |
| Accent | #b9ccb8silver | #2a3829darkslategray |
| Accent foreground | #232f22darkslategray | #c2d1c1silver |
| Destructive | #cb1a06firebrick | #f94834tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #dcfadbbeige | #dcfadbbeige |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.32:1 | AAA |
| Text on card | 20.32:1 | AAA |
| Primary button | 12.17:1 | AAA |
| Secondary button | 7.19:1 | AAA |
| Muted text | 6.59:1 | AA |
| Accent | 8.22:1 | AAA |
| Destructive | 5.69:1 | AA |
| Text on background | 18.80:1 | AAA |
| Text on card | 18.80:1 | AAA |
| Primary button | 12.17:1 | AAA |
| Secondary button | 8.42:1 | AAA |
| Muted text | 8.27:1 | AAA |
| Accent | 7.80:1 | AAA |
| Destructive | 3.50:1 | AA Large |
Paste this into your globals.css to use Ill-fated in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.009 144.557);
--foreground: oklch(0 0 0);
--muted: oklch(0.926 0.033 144.386);
--muted-foreground: oklch(0.425 0.045 143.912);
--popover: oklch(0.988 0.009 144.557);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.988 0.009 144.557);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.956 0.052 144.259);
--primary-foreground: oklch(0.292 0.088 142.463);
--secondary: oklch(0.887 0.008 144.562);
--secondary-foreground: oklch(0.376 0.016 144.338);
--accent: oklch(0.824 0.034 144.35);
--accent-foreground: oklch(0.29 0.029 143.949);
--destructive: oklch(0.537 0.209 30.403);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.956 0.052 144.259);
--chart-1: oklch(0.956 0.052 144.259);
--chart-2: oklch(0.887 0.008 144.562);
--chart-3: oklch(0.824 0.034 144.35);
--chart-4: oklch(0.91 0.006 144.574);
--chart-5: oklch(0.957 0.054 144.245);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.024 143.127);
--foreground: oklch(0.98 0.009 144.562);
--muted: oklch(0.245 0.044 143.379);
--muted-foreground: oklch(0.786 0.039 144.295);
--popover: oklch(0.139 0.024 143.127);
--popover-foreground: oklch(0.98 0.009 144.562);
--card: oklch(0.139 0.024 143.127);
--card-foreground: oklch(0.98 0.009 144.562);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.956 0.052 144.259);
--primary-foreground: oklch(0.292 0.088 142.463);
--secondary: oklch(0.23 0.009 144.352);
--secondary-foreground: oklch(0.779 0.018 144.467);
--accent: oklch(0.322 0.031 143.964);
--accent-foreground: oklch(0.846 0.028 144.406);
--destructive: oklch(0.655 0.216 30.147);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.956 0.052 144.259);
--chart-1: oklch(0.956 0.052 144.259);
--chart-2: oklch(0.23 0.009 144.352);
--chart-3: oklch(0.322 0.031 143.964);
--chart-4: oklch(0.263 0.012 144.332);
--chart-5: oklch(0.957 0.054 144.245);
}