Chilly is a shadcn/ui theme built around a vivid purple primary color (#ed73ca) with vivid red accents (#ed738d). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid purple primary (#ed73ca) on a neutral background (#080206).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #080206black |
| Foreground | #040103black | #f9f6f8whitesmoke |
| Card | #fcfcfcsnow | #0c030ablack |
| Card foreground | #000000black | #fbf9fasnow |
| Popover | #fcfcfcsnow | #0c030ablack |
| Popover foreground | #000000black | #fbf9fasnow |
| Primary | #ed73caorchid | #ed73caorchid |
| Primary foreground | #29051fblack | #29051fblack |
| Secondary | #d273edorchid | #d273edorchid |
| Secondary foreground | #210529black | #210529black |
| Muted | #f1eef2whitesmoke | #100d11black |
| Muted foreground | #655a68dimgray | #a297a5darkgray |
| Accent | #ed738dlightcoral | #ed738dlightcoral |
| Accent foreground | #29050dblack | #29050dblack |
| Destructive | #bd1e0ffirebrick | #d42111firebrick |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ed73caorchid | #ed73caorchid |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.77:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 6.96:1 | AA |
| Secondary button | 6.64:1 | AA |
| Muted text | 5.66:1 | AA |
| Accent | 6.63:1 | AA |
| Destructive | 6.27:1 | AA |
| Text on background | 19.13:1 | AAA |
| Text on card | 19.37:1 | AAA |
| Primary button | 6.96:1 | AA |
| Secondary button | 6.64:1 | AA |
| Muted text | 6.88:1 | AA |
| Accent | 6.63:1 | AA |
| Destructive | 5.19:1 | AA |
Paste this into your globals.css to use Chilly in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.086 0.017 335.752);
--muted: oklch(0.952 0.006 318.888);
--muted-foreground: oklch(0.483 0.025 318.872);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.725 0.18 339.379);
--primary-foreground: oklch(0.198 0.069 341.093);
--secondary: oklch(0.708 0.194 318.579);
--secondary-foreground: oklch(0.191 0.074 318.229);
--accent: oklch(0.705 0.152 8.147);
--accent-foreground: oklch(0.19 0.06 11.183);
--destructive: oklch(0.513 0.194 30.082);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.725 0.18 339.379);
--chart-1: oklch(0.725 0.18 339.379);
--chart-2: oklch(0.708 0.194 318.579);
--chart-3: oklch(0.705 0.152 8.147);
--chart-4: oklch(0.734 0.176 318.669);
--chart-5: oklch(0.725 0.187 339.531);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.107 0.023 335.808);
--foreground: oklch(0.976 0.004 335.268);
--muted: oklch(0.167 0.009 318.871);
--muted-foreground: oklch(0.691 0.023 318.879);
--popover: oklch(0.123 0.027 336.169);
--popover-foreground: oklch(0.984 0.003 335.242);
--card: oklch(0.123 0.027 336.169);
--card-foreground: oklch(0.984 0.003 335.242);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.725 0.18 339.379);
--primary-foreground: oklch(0.198 0.069 341.093);
--secondary: oklch(0.708 0.194 318.579);
--secondary-foreground: oklch(0.191 0.074 318.229);
--accent: oklch(0.705 0.152 8.147);
--accent-foreground: oklch(0.19 0.06 11.183);
--destructive: oklch(0.559 0.213 30.089);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.725 0.18 339.379);
--chart-1: oklch(0.725 0.18 339.379);
--chart-2: oklch(0.708 0.194 318.579);
--chart-3: oklch(0.705 0.152 8.147);
--chart-4: oklch(0.734 0.176 318.669);
--chart-5: oklch(0.725 0.187 339.531);
}