Chilly is a shadcn/ui theme built around a vivid light green primary color (#dbfdc9) with vivid light pink accents (#fdc9db). The light mode uses a neutral background (#f9fdf6). Dark mode keeps the vivid light green primary (#dbfdc9) on a neutral background (#040802).
| Token | Light | Dark |
|---|---|---|
| Background | #f9fdf6mintcream | #040802black |
| Foreground | #081104black | #ffffffwhite |
| Card | #f6fdf2honeydew | #060c04black |
| Card foreground | #060c03black | #ffffffwhite |
| Popover | #f9fdf6mintcream | #040802black |
| Popover foreground | #081104black | #ffffffwhite |
| Primary | #dbfdc9lightgoldenrodyellow | #dbfdc9lightgoldenrodyellow |
| Primary foreground | #112c02black | #112c02black |
| Secondary | #c9dbfdlavender | #c9dbfdlavender |
| Secondary foreground | #06368emidnightblue | #06368emidnightblue |
| Muted | #d4dbe8gainsboro | #171e2bblack |
| Muted foreground | #4c5461darkslategray | #9ea5b3darkgray |
| Accent | #fdc9dbpink | #fdc9dbpink |
| Accent foreground | #8e0636brown | #8e0636brown |
| Destructive | #e60800red | #ff3a33tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #dbfdc9lightgoldenrodyellow | #dbfdc9lightgoldenrodyellow |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.73:1 | AAA |
| Text on card | 19.03:1 | AAA |
| Primary button | 13.63:1 | AAA |
| Secondary button | 7.81:1 | AAA |
| Muted text | 5.48:1 | AA |
| Accent | 6.53:1 | AA |
| Destructive | 4.79:1 | AA |
| Text on background | 20.18:1 | AAA |
| Text on card | 19.79:1 | AAA |
| Primary button | 13.63:1 | AAA |
| Secondary button | 7.81:1 | AAA |
| Muted text | 6.73:1 | AA |
| Accent | 6.53:1 | AA |
| Destructive | 3.55:1 | AA Large |
Paste this into your globals.css to use Chilly in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.011 134.28);
--foreground: oklch(0.162 0.031 133.549);
--muted: oklch(0.89 0.019 263.003);
--muted-foreground: oklch(0.443 0.024 262.869);
--popover: oklch(0.99 0.011 134.28);
--popover-foreground: oklch(0.162 0.031 133.549);
--card: oklch(0.985 0.016 134.31);
--card-foreground: oklch(0.145 0.026 132.706);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.956 0.076 134.695);
--primary-foreground: oklch(0.262 0.075 136.597);
--secondary: oklch(0.889 0.05 262.859);
--secondary-foreground: oklch(0.366 0.154 261.664);
--accent: oklch(0.887 0.063 355.525);
--accent-foreground: oklch(0.415 0.162 10.911);
--destructive: oklch(0.581 0.236 29.53);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.956 0.076 134.695);
--chart-1: oklch(0.956 0.076 134.695);
--chart-2: oklch(0.889 0.05 262.859);
--chart-3: oklch(0.887 0.063 355.525);
--chart-4: oklch(0.919 0.036 262.938);
--chart-5: oklch(0.958 0.079 134.711);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.019 132.77);
--foreground: oklch(1 0 180);
--muted: oklch(0.235 0.027 262.509);
--muted-foreground: oklch(0.721 0.021 262.977);
--popover: oklch(0.125 0.019 132.77);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.143 0.022 132.876);
--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.956 0.076 134.695);
--primary-foreground: oklch(0.262 0.075 136.597);
--secondary: oklch(0.889 0.05 262.859);
--secondary-foreground: oklch(0.366 0.154 261.664);
--accent: oklch(0.887 0.063 355.525);
--accent-foreground: oklch(0.415 0.162 10.911);
--destructive: oklch(0.654 0.233 27.905);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.956 0.076 134.695);
--chart-1: oklch(0.956 0.076 134.695);
--chart-2: oklch(0.889 0.05 262.859);
--chart-3: oklch(0.887 0.063 355.525);
--chart-4: oklch(0.919 0.036 262.938);
--chart-5: oklch(0.958 0.079 134.711);
}