Chow is a shadcn/ui theme built around a deep cyan primary color (#1e4d57) with muted light cyan accents (#c1cfd2). The light mode uses a neutral background (#fbfefe). Dark mode keeps the deep cyan primary (#1e4d57) on a neutral background (#010304).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefewhite | #010304black |
| Foreground | #030b0dblack | #ffffffwhite |
| Card | #f7fcfdghostwhite | #030708black |
| Card foreground | #020708black | #ffffffwhite |
| Popover | #fbfefewhite | #010304black |
| Popover foreground | #030b0dblack | #ffffffwhite |
| Primary | #1e4d57darkslategray | #1e4d57darkslategray |
| Primary foreground | #bee1e9powderblue | #bee1e9powderblue |
| Secondary | #d2d9dalightgrey | #1f2223black |
| Secondary foreground | #374143darkslategray | #b6bdbesilver |
| Muted | #dce8eagainsboro | #152123black |
| Muted foreground | #596e73dimgray | #8ca1a6darkgray |
| Accent | #c1cfd2lightgrey | #323c3edarkslategray |
| Accent foreground | #293538darkslategray | #ccd4d6lightgrey |
| Destructive | #a0430dsaddlebrown | #ef7c39coral |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #1e4d57darkslategray | #1e4d57darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.51:1 | AAA |
| Text on card | 19.57:1 | AAA |
| Primary button | 6.72:1 | AA |
| Secondary button | 7.33:1 | AAA |
| Muted text | 4.28:1 | AA Large |
| Accent | 7.89:1 | AAA |
| Destructive | 6.33:1 | AA |
| Text on background | 20.63:1 | AAA |
| Text on card | 20.27:1 | AAA |
| Primary button | 6.72:1 | AA |
| Secondary button | 8.36:1 | AAA |
| Muted text | 6.11:1 | AA |
| Accent | 7.53:1 | AAA |
| Destructive | 7.59:1 | AAA |
Paste this into your globals.css to use Chow in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 212.663);
--foreground: oklch(0.139 0.016 209.563);
--muted: oklch(0.922 0.013 212.68);
--muted-foreground: oklch(0.524 0.027 212.862);
--popover: oklch(0.994 0.003 212.663);
--popover-foreground: oklch(0.139 0.016 209.563);
--card: oklch(0.987 0.006 212.666);
--card-foreground: oklch(0.122 0.014 208.442);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.392 0.053 214.839);
--primary-foreground: oklch(0.887 0.038 212.801);
--secondary: oklch(0.88 0.008 212.67);
--secondary-foreground: oklch(0.367 0.014 212.768);
--accent: oklch(0.844 0.016 212.691);
--accent-foreground: oklch(0.32 0.018 212.896);
--destructive: oklch(0.501 0.138 44.576);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.392 0.053 214.839);
--chart-1: oklch(0.392 0.053 214.839);
--chart-2: oklch(0.88 0.008 212.67);
--chart-3: oklch(0.844 0.016 212.691);
--chart-4: oklch(0.903 0.006 212.667);
--chart-5: oklch(0.395 0.056 215.097);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.095 0.008 209.312);
--foreground: oklch(1 0 180);
--muted: oklch(0.236 0.017 213.107);
--muted-foreground: oklch(0.695 0.025 212.763);
--popover: oklch(0.095 0.008 209.312);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.12 0.011 209.312);
--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.392 0.053 214.839);
--primary-foreground: oklch(0.887 0.038 212.801);
--secondary: oklch(0.251 0.005 212.694);
--secondary-foreground: oklch(0.793 0.008 212.671);
--accent: oklch(0.348 0.014 212.784);
--accent-foreground: oklch(0.865 0.009 212.673);
--destructive: oklch(0.706 0.162 47.722);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.392 0.053 214.839);
--chart-1: oklch(0.392 0.053 214.839);
--chart-2: oklch(0.251 0.005 212.694);
--chart-3: oklch(0.348 0.014 212.784);
--chart-4: oklch(0.283 0.006 212.697);
--chart-5: oklch(0.395 0.056 215.097);
}