Disguised is a shadcn/ui theme built around a light green primary color (#dfe59e) with neutral gray accents (#dadad7). The light mode uses a neutral background (#fdfdfc). Dark mode keeps the light green primary (#dfe59e) on a green-tinted background (#0e0f06).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfdfcwhite | #0e0f06black |
| Foreground | #0b0c03black | #f9faf5whitesmoke |
| Card | #fdfdfcwhite | #0e0f06black |
| Card foreground | #0b0c03black | #f9faf5whitesmoke |
| Popover | #fdfdfcwhite | #0e0f06black |
| Popover foreground | #0b0c03black | #f9faf5whitesmoke |
| Primary | #dfe59epalegoldenrod | #dfe59epalegoldenrod |
| Primary foreground | #3d4011darkolivegreen | #3d4011darkolivegreen |
| Secondary | #dadad7gainsboro | #1e1e1ablack |
| Secondary foreground | #42423ddarkslategray | #b9bab0silver |
| Muted | #dfe1d1gainsboro | #2d2e1edarkslategray |
| Muted foreground | #565747darkolivegreen | #b7b8a8darkgray |
| Accent | #dadad7gainsboro | #1e1e1ablack |
| Accent foreground | #42423ddarkslategray | #b9bab0silver |
| Destructive | #630903maroon | #f41606red |
| Destructive foreground | #fca29clightsalmon | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #dfe59epalegoldenrod | #dfe59epalegoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.34:1 | AAA |
| Text on card | 19.34:1 | AAA |
| Primary button | 8.18:1 | AAA |
| Secondary button | 7.22:1 | AAA |
| Muted text | 5.54:1 | AA |
| Accent | 7.22:1 | AAA |
| Destructive | 6.84:1 | AA |
| Text on background | 18.40:1 | AAA |
| Text on card | 18.40:1 | AAA |
| Primary button | 8.18:1 | AAA |
| Secondary button | 8.53:1 | AAA |
| Muted text | 6.84:1 | AA |
| Accent | 8.53:1 | AAA |
| Destructive | 4.24:1 | AA Large |
Paste this into your globals.css to use Disguised in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 110.287);
--foreground: oklch(0.151 0.022 112.078);
--muted: oklch(0.904 0.022 110.69);
--muted-foreground: oklch(0.451 0.025 111.264);
--popover: oklch(0.994 0.002 110.287);
--popover-foreground: oklch(0.151 0.022 112.078);
--card: oklch(0.994 0.002 110.287);
--card-foreground: oklch(0.151 0.022 112.078);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.902 0.091 112.099);
--primary-foreground: oklch(0.359 0.068 113.86);
--secondary: oklch(0.888 0.004 110.334);
--secondary-foreground: oklch(0.378 0.009 110.665);
--accent: oklch(0.888 0.004 110.334);
--accent-foreground: oklch(0.378 0.009 110.665);
--destructive: oklch(0.321 0.123 30.334);
--destructive-foreground: oklch(0.801 0.109 24.218);
--ring: oklch(0.902 0.091 112.099);
--chart-1: oklch(0.902 0.091 112.099);
--chart-2: oklch(0.888 0.004 110.334);
--chart-3: oklch(0.888 0.004 110.334);
--chart-4: oklch(0.911 0.003 110.314);
--chart-5: oklch(0.906 0.096 112.176);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.163 0.019 112.077);
--foreground: oklch(0.983 0.006 110.366);
--muted: oklch(0.296 0.028 111.946);
--muted-foreground: oklch(0.777 0.022 110.772);
--popover: oklch(0.163 0.019 112.077);
--popover-foreground: oklch(0.983 0.006 110.366);
--card: oklch(0.163 0.019 112.077);
--card-foreground: oklch(0.983 0.006 110.366);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.902 0.091 112.099);
--primary-foreground: oklch(0.359 0.068 113.86);
--secondary: oklch(0.233 0.007 110.832);
--secondary-foreground: oklch(0.786 0.014 110.588);
--accent: oklch(0.233 0.007 110.832);
--accent-foreground: oklch(0.786 0.014 110.588);
--destructive: oklch(0.612 0.244 29.753);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.902 0.091 112.099);
--chart-1: oklch(0.902 0.091 112.099);
--chart-2: oklch(0.233 0.007 110.832);
--chart-3: oklch(0.233 0.007 110.832);
--chart-4: oklch(0.267 0.009 110.874);
--chart-5: oklch(0.906 0.096 112.176);
}