Bow is a shadcn/ui theme built around a muted yellow primary color (#969479) with muted indigo accents (#797b96). The light mode uses a neutral background (#fdfdf7). Dark mode keeps the muted yellow primary (#969479) on a yellow-tinted background (#100f04).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfdf7snow | #100f04black |
| Foreground | #090901black | #faf9f5whitesmoke |
| Card | #fcfbf3floralwhite | #141305black |
| Card foreground | #050401black | #fbfbf8snow |
| Popover | #fcfbf3floralwhite | #141305black |
| Popover foreground | #050401black | #fbfbf8snow |
| Primary | #969479gray | #969479gray |
| Primary foreground | #000000black | #000000black |
| Secondary | #797b96slategray | #797b96slategray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e2e3eelavender | #11121dblack |
| Muted foreground | #4b4c58darkslategray | #a7a8b4darkgray |
| Accent | #797b96slategray | #797b96slategray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #a83810brown | #d74814chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #969479gray | #969479gray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.51:1 | AAA |
| Text on card | 19.78:1 | AAA |
| Primary button | 6.77:1 | AA |
| Secondary button | 4.14:1 | AA Large |
| Muted text | 6.64:1 | AA |
| Accent | 4.14:1 | AA Large |
| Destructive | 6.47:1 | AA |
| Text on background | 18.22:1 | AAA |
| Text on card | 17.99:1 | AAA |
| Primary button | 6.77:1 | AA |
| Secondary button | 4.14:1 | AA Large |
| Muted text | 7.90:1 | AAA |
| Accent | 4.14:1 | AA Large |
| Destructive | 4.36:1 | AA Large |
Paste this into your globals.css to use Bow in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.008 103.233);
--foreground: oklch(0.134 0.023 106.74);
--muted: oklch(0.918 0.015 282.824);
--muted-foreground: oklch(0.42 0.02 282.254);
--popover: oklch(0.987 0.011 103.297);
--popover-foreground: oklch(0.107 0.019 106.74);
--card: oklch(0.987 0.011 103.297);
--card-foreground: oklch(0.107 0.019 106.74);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.66 0.038 104.02);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.59 0.041 281.848);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.59 0.041 281.848);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.499 0.154 37.803);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.66 0.038 104.02);
--chart-1: oklch(0.66 0.038 104.02);
--chart-2: oklch(0.59 0.041 281.848);
--chart-3: oklch(0.59 0.041 281.848);
--chart-4: oklch(0.618 0.038 282.004);
--chart-5: oklch(0.669 0.047 104.201);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.167 0.023 105.4);
--foreground: oklch(0.982 0.005 103.2);
--muted: oklch(0.186 0.023 280.781);
--muted-foreground: oklch(0.734 0.017 282.694);
--popover: oklch(0.184 0.026 105.236);
--popover-foreground: oklch(0.988 0.004 103.168);
--card: oklch(0.184 0.026 105.236);
--card-foreground: oklch(0.988 0.004 103.168);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.66 0.038 104.02);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.59 0.041 281.848);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.59 0.041 281.848);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.596 0.188 37.51);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.66 0.038 104.02);
--chart-1: oklch(0.66 0.038 104.02);
--chart-2: oklch(0.59 0.041 281.848);
--chart-3: oklch(0.59 0.041 281.848);
--chart-4: oklch(0.618 0.038 282.004);
--chart-5: oklch(0.669 0.047 104.201);
}