Exile is a shadcn/ui theme built around a neutral gray primary color (#777977) with neutral gray accents (#797779). The light mode uses a neutral background (#f8fcf8). Dark mode keeps the neutral gray primary (#777977) on a green-tinted background (#070e06).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcf8mintcream | #070e06black |
| Foreground | #010401black | #f7f8f6whitesmoke |
| Card | #f8fcf8mintcream | #070e06black |
| Card foreground | #010401black | #f7f8f6whitesmoke |
| Popover | #f8fcf8mintcream | #070e06black |
| Popover foreground | #010401black | #f7f8f6whitesmoke |
| Primary | #777977gray | #777977gray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #797779gray | #797779gray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e6dbe6gainsboro | #241924black |
| Muted foreground | #675a68dimgray | #a497a5darkgray |
| Accent | #797779gray | #797779gray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #d34909chocolate | #f5540aorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #777977gray | #777977gray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.86:1 | AAA |
| Text on card | 19.86:1 | AAA |
| Primary button | 4.39:1 | AA Large |
| Secondary button | 4.45:1 | AA Large |
| Muted text | 4.81:1 | AA |
| Accent | 4.45:1 | AA Large |
| Destructive | 4.46:1 | AA Large |
| Text on background | 18.34:1 | AAA |
| Text on card | 18.34:1 | AAA |
| Primary button | 4.39:1 | AA Large |
| Secondary button | 4.45:1 | AA Large |
| Muted text | 6.09:1 | AA |
| Accent | 4.45:1 | AA Large |
| Destructive | 3.40:1 | AA Large |
Paste this into your globals.css to use Exile in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.006 144.096);
--foreground: oklch(0.099 0.024 141.901);
--muted: oklch(0.902 0.02 324.255);
--muted-foreground: oklch(0.485 0.027 324.442);
--popover: oklch(0.987 0.006 144.096);
--popover-foreground: oklch(0.099 0.024 141.901);
--card: oklch(0.987 0.006 144.096);
--card-foreground: oklch(0.099 0.024 141.901);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.574 0.005 144.084);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.571 0.005 324.176);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.571 0.005 324.176);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.59 0.184 39.3);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.574 0.005 144.084);
--chart-1: oklch(0.574 0.005 144.084);
--chart-2: oklch(0.571 0.005 324.176);
--chart-3: oklch(0.571 0.005 324.176);
--chart-4: oklch(0.597 0.005 324.176);
--chart-5: oklch(0.578 0.018 143.946);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.153 0.02 143.066);
--foreground: oklch(0.978 0.003 144.112);
--muted: oklch(0.231 0.027 324.778);
--muted-foreground: oklch(0.693 0.024 324.332);
--popover: oklch(0.153 0.02 143.066);
--popover-foreground: oklch(0.978 0.003 144.112);
--card: oklch(0.153 0.02 143.066);
--card-foreground: oklch(0.978 0.003 144.112);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.574 0.005 144.084);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.571 0.005 324.176);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.571 0.005 324.176);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.659 0.208 39.046);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.574 0.005 144.084);
--chart-1: oklch(0.574 0.005 144.084);
--chart-2: oklch(0.571 0.005 324.176);
--chart-3: oklch(0.571 0.005 324.176);
--chart-4: oklch(0.597 0.005 324.176);
--chart-5: oklch(0.578 0.018 143.946);
}