Chill is a shadcn/ui theme built around a vivid deep orange primary color (#8d2b01) with vivid deep cyan accents (#01638d). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep orange primary (#8d2b01) on an orange-tinted background (#100805).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #100805black |
| Foreground | #040201black | #ffffffwhite |
| Card | #ffffffwhite | #100805black |
| Card foreground | #040201black | #ffffffwhite |
| Popover | #ffffffwhite | #100805black |
| Popover foreground | #040201black | #ffffffwhite |
| Primary | #8d2b01saddlebrown | #8d2b01saddlebrown |
| Primary foreground | #fed4c2peachpuff | #fed4c2peachpuff |
| Secondary | #01638dteal | #01638dteal |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #cedde3gainsboro | #1c2b31darkslategray |
| Muted foreground | #4c5f67dimgray | #98abb3darkgray |
| Accent | #01638dteal | #01638dteal |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #db2d06orangered | #ef3106orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #8d2b01saddlebrown | #8d2b01saddlebrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.70:1 | AAA |
| Text on card | 20.70:1 | AAA |
| Primary button | 6.18:1 | AA |
| Secondary button | 6.58:1 | AA |
| Muted text | 4.80:1 | AA |
| Accent | 6.58:1 | AA |
| Destructive | 4.79:1 | AA |
| Text on background | 19.84:1 | AAA |
| Text on card | 19.84:1 | AAA |
| Primary button | 6.18:1 | AA |
| Secondary button | 6.58:1 | AA |
| Muted text | 6.15:1 | AA |
| Accent | 6.58:1 | AA |
| Destructive | 4.12:1 | AA Large |
Paste this into your globals.css to use Chill in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.09 0.01 52.6);
--muted: oklch(0.888 0.018 225.23);
--muted-foreground: oklch(0.472 0.026 225.791);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.09 0.01 52.6);
--card: oklch(1 0 180);
--card-foreground: oklch(0.09 0.01 52.6);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.436 0.14 38.617);
--primary-foreground: oklch(0.902 0.053 44.482);
--secondary: oklch(0.474 0.102 236.325);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.474 0.102 236.325);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.578 0.213 32.552);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.436 0.14 38.617);
--chart-1: oklch(0.436 0.14 38.617);
--chart-2: oklch(0.474 0.102 236.325);
--chart-3: oklch(0.474 0.102 236.325);
--chart-4: oklch(0.51 0.11 236.634);
--chart-5: oklch(0.439 0.143 38.37);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.144 0.017 50.038);
--foreground: oklch(1 0 180);
--muted: oklch(0.277 0.023 226.443);
--muted-foreground: oklch(0.73 0.024 225.402);
--popover: oklch(0.144 0.017 50.038);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.144 0.017 50.038);
--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.436 0.14 38.617);
--primary-foreground: oklch(0.902 0.053 44.482);
--secondary: oklch(0.474 0.102 236.325);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.474 0.102 236.325);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.616 0.228 32.461);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.436 0.14 38.617);
--chart-1: oklch(0.436 0.14 38.617);
--chart-2: oklch(0.474 0.102 236.325);
--chart-3: oklch(0.474 0.102 236.325);
--chart-4: oklch(0.51 0.11 236.634);
--chart-5: oklch(0.439 0.143 38.37);
}