Exotic is a shadcn/ui theme built around a vivid deep green primary color (#003811) with muted light green accents (#d0dcd4). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep green primary (#003811) on a neutral background (#020804).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020804black |
| Foreground | #06140ablack | #fcfdfcwhite |
| Card | #fcfcfcsnow | #030c06black |
| Card foreground | #051008black | #ffffffwhite |
| Popover | #fcfcfcsnow | #030c06black |
| Popover foreground | #051008black | #ffffffwhite |
| Primary | #003811darkgreen | #003811darkgreen |
| Primary foreground | #05ff50springgreen | #05ff50springgreen |
| Secondary | #e1e5e2gainsboro | #151916black |
| Secondary foreground | #464e48darkslategray | #aab6addarkgray |
| Muted | #d6e5dbgainsboro | #1a291eblack |
| Muted foreground | #526b59dimgray | #94ad9cdarkseagreen |
| Accent | #d0dcd4lightgrey | #1e2a21black |
| Accent foreground | #34463adarkslategray | #b1c8b8silver |
| Destructive | #8d0d01darkred | #fd3321orangered |
| Destructive foreground | #fec7c2pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #003811darkgreen | #003811darkgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.88:1 | AAA |
| Text on card | 18.95:1 | AAA |
| Primary button | 9.79:1 | AAA |
| Secondary button | 6.74:1 | AA |
| Muted text | 4.47:1 | AA Large |
| Accent | 7.15:1 | AAA |
| Destructive | 6.44:1 | AA |
| Text on background | 19.81:1 | AAA |
| Text on card | 19.82:1 | AAA |
| Primary button | 9.79:1 | AAA |
| Secondary button | 8.46:1 | AAA |
| Muted text | 6.33:1 | AA |
| Accent | 8.41:1 | AAA |
| Destructive | 3.70:1 | AA Large |
Paste this into your globals.css to use Exotic in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.173 0.028 153.168);
--muted: oklch(0.909 0.022 155.408);
--muted-foreground: oklch(0.501 0.04 154.25);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.157 0.024 154.353);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.157 0.024 154.353);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.297 0.086 147.907);
--primary-foreground: oklch(0.87 0.269 145.482);
--secondary: oklch(0.918 0.005 155.769);
--secondary-foreground: oklch(0.415 0.015 155.149);
--accent: oklch(0.884 0.018 155.487);
--accent-foreground: oklch(0.376 0.032 154.123);
--destructive: oklch(0.41 0.161 30.471);
--destructive-foreground: oklch(0.878 0.063 24.433);
--ring: oklch(0.297 0.086 147.907);
--chart-1: oklch(0.297 0.086 147.907);
--chart-2: oklch(0.918 0.005 155.769);
--chart-3: oklch(0.884 0.018 155.487);
--chart-4: oklch(0.94 0.003 155.798);
--chart-5: oklch(0.3 0.088 147.797);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.019 155.391);
--foreground: oklch(0.993 0.002 155.832);
--muted: oklch(0.262 0.029 153.556);
--muted-foreground: oklch(0.724 0.037 154.866);
--popover: oklch(0.141 0.022 155.215);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.141 0.022 155.215);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.297 0.086 147.907);
--primary-foreground: oklch(0.87 0.269 145.482);
--secondary: oklch(0.208 0.008 155.16);
--secondary-foreground: oklch(0.765 0.019 155.394);
--accent: oklch(0.27 0.023 154.123);
--accent-foreground: oklch(0.811 0.033 155.075);
--destructive: oklch(0.644 0.237 29.999);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.297 0.086 147.907);
--chart-1: oklch(0.297 0.086 147.907);
--chart-2: oklch(0.208 0.008 155.16);
--chart-3: oklch(0.27 0.023 154.123);
--chart-4: oklch(0.242 0.01 155.086);
--chart-5: oklch(0.3 0.088 147.797);
}