Exile is a shadcn/ui theme built around a light purple primary color (#f3d8ef) with light cyan accents (#d8eff3). The light mode uses a neutral background (#fdfcfd). Dark mode keeps the light purple primary (#f3d8ef) on a purple-tinted background (#0b050a).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfdwhite | #0b050ablack |
| Foreground | #10040eblack | #ffffffwhite |
| Card | #fdfcfdwhite | #0b050ablack |
| Card foreground | #10040eblack | #ffffffwhite |
| Popover | #fdfcfdwhite | #0b050ablack |
| Popover foreground | #10040eblack | #ffffffwhite |
| Primary | #f3d8efmistyrose | #f3d8efmistyrose |
| Primary foreground | #752468purple | #752468purple |
| Secondary | #eff3d8beige | #eff3d8beige |
| Secondary foreground | #23270cblack | #23270cblack |
| Muted | #ecefdcbeige | #202310black |
| Muted foreground | #5c5d56dimgray | #a8a9a2darkgray |
| Accent | #d8eff3lavender | #d8eff3lavender |
| Accent foreground | #0c2327black | #0c2327black |
| Destructive | #771209maroon | #ee3120orangered |
| Destructive foreground | #fabdb8lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f3d8efmistyrose | #f3d8efmistyrose |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.58:1 | AAA |
| Text on card | 19.58:1 | AAA |
| Primary button | 7.18:1 | AAA |
| Secondary button | 13.50:1 | AAA |
| Muted text | 5.68:1 | AA |
| Accent | 13.61:1 | AAA |
| Destructive | 6.97:1 | AA |
| Text on background | 20.22:1 | AAA |
| Text on card | 20.22:1 | AAA |
| Primary button | 7.18:1 | AAA |
| Secondary button | 13.50:1 | AAA |
| Muted text | 6.77:1 | AA |
| Accent | 13.61:1 | AAA |
| Destructive | 4.11:1 | AA Large |
Paste this into your globals.css to use Exile in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.002 330.855);
--foreground: oklch(0.137 0.033 333.007);
--muted: oklch(0.944 0.025 114.561);
--muted-foreground: oklch(0.474 0.011 114.509);
--popover: oklch(0.992 0.002 330.855);
--popover-foreground: oklch(0.137 0.033 333.007);
--card: oklch(0.992 0.002 330.855);
--card-foreground: oklch(0.137 0.033 333.007);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.911 0.042 331.431);
--primary-foreground: oklch(0.411 0.139 335.135);
--secondary: oklch(0.954 0.036 114.763);
--secondary-foreground: oklch(0.261 0.045 117.482);
--accent: oklch(0.935 0.025 211.052);
--accent-foreground: oklch(0.238 0.03 212.41);
--destructive: oklch(0.368 0.136 30.018);
--destructive-foreground: oklch(0.853 0.07 24.58);
--ring: oklch(0.911 0.042 331.431);
--chart-1: oklch(0.911 0.042 331.431);
--chart-2: oklch(0.954 0.036 114.763);
--chart-3: oklch(0.935 0.025 211.052);
--chart-4: oklch(0.968 0.025 114.548);
--chart-5: oklch(0.91 0.044 331.465);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.126 0.018 331.573);
--foreground: oklch(1 0 180);
--muted: oklch(0.247 0.033 116.629);
--muted-foreground: oklch(0.733 0.01 114.324);
--popover: oklch(0.126 0.018 331.573);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.126 0.018 331.573);
--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.911 0.042 331.431);
--primary-foreground: oklch(0.411 0.139 335.135);
--secondary: oklch(0.954 0.036 114.763);
--secondary-foreground: oklch(0.261 0.045 117.482);
--accent: oklch(0.935 0.025 211.052);
--accent-foreground: oklch(0.238 0.03 212.41);
--destructive: oklch(0.617 0.225 29.969);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.911 0.042 331.431);
--chart-1: oklch(0.911 0.042 331.431);
--chart-2: oklch(0.954 0.036 114.763);
--chart-3: oklch(0.935 0.025 211.052);
--chart-4: oklch(0.968 0.025 114.548);
--chart-5: oklch(0.91 0.044 331.465);
}