Cookie is a shadcn/ui theme built around a vivid light cyan primary color (#dbf0fa) with vivid light orange accents (#fae5db). The light mode uses a neutral background (#fcfdfd). Dark mode keeps the vivid light cyan primary (#dbf0fa) on a neutral background (#020608).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfdwhite | #020608black |
| Foreground | #010304black | #f6f8f9whitesmoke |
| Card | #fcfdfdwhite | #020608black |
| Card foreground | #010304black | #f6f8f9whitesmoke |
| Popover | #fcfdfdwhite | #020608black |
| Popover foreground | #010304black | #f6f8f9whitesmoke |
| Primary | #dbf0falavender | #dbf0falavender |
| Primary foreground | #072736darkslategray | #072736darkslategray |
| Secondary | #fae5dbantiquewhite | #fae5dbantiquewhite |
| Secondary foreground | #903b14saddlebrown | #903b14saddlebrown |
| Muted | #f1e5dfantiquewhite | #20140eblack |
| Muted foreground | #554d4adarkslategray | #b5aeaadarkgray |
| Accent | #fae5dbantiquewhite | #fae5dbantiquewhite |
| Accent foreground | #903b14saddlebrown | #903b14saddlebrown |
| Destructive | #632303maroon | #f96b24tomato |
| Destructive foreground | #fcbc9cburlywood | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #dbf0falavender | #dbf0falavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.23:1 | AAA |
| Text on card | 20.23:1 | AAA |
| Primary button | 13.23:1 | AAA |
| Secondary button | 6.12:1 | AA |
| Muted text | 6.66:1 | AA |
| Accent | 6.12:1 | AA |
| Destructive | 7.21:1 | AAA |
| Text on background | 19.08:1 | AAA |
| Text on card | 19.08:1 | AAA |
| Primary button | 13.23:1 | AAA |
| Secondary button | 6.12:1 | AA |
| Muted text | 8.23:1 | AAA |
| Accent | 6.12:1 | AA |
| Destructive | 7.18:1 | AAA |
Paste this into your globals.css to use Cookie in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.001 226.874);
--foreground: oklch(0.093 0.012 219.619);
--muted: oklch(0.929 0.016 46.669);
--muted-foreground: oklch(0.427 0.012 46.567);
--popover: oklch(0.993 0.001 226.874);
--popover-foreground: oklch(0.093 0.012 219.619);
--card: oklch(0.993 0.001 226.874);
--card-foreground: oklch(0.093 0.012 219.619);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.943 0.026 227.224);
--primary-foreground: oklch(0.258 0.045 232.626);
--secondary: oklch(0.936 0.027 46.554);
--secondary-foreground: oklch(0.462 0.125 42.199);
--accent: oklch(0.936 0.027 46.554);
--accent-foreground: oklch(0.462 0.125 42.199);
--destructive: oklch(0.349 0.102 42.398);
--destructive-foreground: oklch(0.846 0.087 47.669);
--ring: oklch(0.943 0.026 227.224);
--chart-1: oklch(0.943 0.026 227.224);
--chart-2: oklch(0.936 0.027 46.554);
--chart-3: oklch(0.936 0.027 46.554);
--chart-4: oklch(0.96 0.017 46.667);
--chart-5: oklch(0.944 0.027 227.24);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.117 0.013 220.748);
--foreground: oklch(0.978 0.003 226.892);
--muted: oklch(0.204 0.024 45.797);
--muted-foreground: oklch(0.756 0.01 46.709);
--popover: oklch(0.117 0.013 220.748);
--popover-foreground: oklch(0.978 0.003 226.892);
--card: oklch(0.117 0.013 220.748);
--card-foreground: oklch(0.978 0.003 226.892);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.943 0.026 227.224);
--primary-foreground: oklch(0.258 0.045 232.626);
--secondary: oklch(0.936 0.027 46.554);
--secondary-foreground: oklch(0.462 0.125 42.199);
--accent: oklch(0.936 0.027 46.554);
--accent-foreground: oklch(0.462 0.125 42.199);
--destructive: oklch(0.695 0.19 42.957);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.943 0.026 227.224);
--chart-1: oklch(0.943 0.026 227.224);
--chart-2: oklch(0.936 0.027 46.554);
--chart-3: oklch(0.936 0.027 46.554);
--chart-4: oklch(0.96 0.017 46.667);
--chart-5: oklch(0.944 0.027 227.24);
}