Sow is a shadcn/ui theme built around a light indigo primary color (#c1bedf) with light violet accents (#d1bedf). The light mode uses a neutral background (#fcfcfd). Dark mode keeps the light indigo primary (#c1bedf) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfcfdwhite | #000000black |
| Foreground | #010104black | #f5f5fawhitesmoke |
| Card | #fcfcfdwhite | #000000black |
| Card foreground | #010104black | #f5f5fawhitesmoke |
| Popover | #fcfcfdwhite | #000000black |
| Popover foreground | #010104black | #f5f5fawhitesmoke |
| Primary | #c1bedflightsteelblue | #c1bedflightsteelblue |
| Primary foreground | #262348midnightblue | #262348midnightblue |
| Secondary | #beccdflightsteelblue | #beccdflightsteelblue |
| Secondary foreground | #233348darkslategray | #233348darkslategray |
| Muted | #e1e5ealavender | #15191eblack |
| Muted foreground | #434b56darkslategray | #a9b1bcdarkgray |
| Accent | #d1bedfthistle | #d1bedfthistle |
| Accent foreground | #392348darkslategray | #392348darkslategray |
| Destructive | #d62e00orangered | #ff4b19orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c1bedflightsteelblue | #c1bedflightsteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.26:1 | AAA |
| Text on card | 20.26:1 | AAA |
| Primary button | 8.26:1 | AAA |
| Secondary button | 7.85:1 | AAA |
| Muted text | 6.96:1 | AA |
| Accent | 8.06:1 | AAA |
| Destructive | 4.92:1 | AA |
| Text on background | 19.32:1 | AAA |
| Text on card | 19.32:1 | AAA |
| Primary button | 8.26:1 | AAA |
| Secondary button | 7.85:1 | AAA |
| Muted text | 8.16:1 | AAA |
| Accent | 8.06:1 | AAA |
| Destructive | 3.34:1 | AA Large |
Paste this into your globals.css to use Sow in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.002 290.201);
--foreground: oklch(0.072 0.021 286.019);
--muted: oklch(0.92 0.008 256.686);
--muted-foreground: oklch(0.41 0.021 256.789);
--popover: oklch(0.99 0.002 290.201);
--popover-foreground: oklch(0.072 0.021 286.019);
--card: oklch(0.99 0.002 290.201);
--card-foreground: oklch(0.072 0.021 286.019);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.815 0.046 289.155);
--primary-foreground: oklch(0.281 0.066 285.154);
--secondary: oklch(0.84 0.031 256.764);
--secondary-foreground: oklch(0.316 0.043 256.88);
--accent: oklch(0.828 0.05 311.241);
--accent-foreground: oklch(0.302 0.069 309.751);
--destructive: oklch(0.57 0.208 33.463);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.815 0.046 289.155);
--chart-1: oklch(0.815 0.046 289.155);
--chart-2: oklch(0.84 0.031 256.764);
--chart-3: oklch(0.828 0.05 311.241);
--chart-4: oklch(0.866 0.026 256.749);
--chart-5: oklch(0.811 0.05 289.048);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.972 0.006 290.129);
--muted: oklch(0.211 0.011 256.795);
--muted-foreground: oklch(0.758 0.018 256.732);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.972 0.006 290.129);
--card: oklch(0 0 0);
--card-foreground: oklch(0.972 0.006 290.129);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.815 0.046 289.155);
--primary-foreground: oklch(0.281 0.066 285.154);
--secondary: oklch(0.84 0.031 256.764);
--secondary-foreground: oklch(0.316 0.043 256.88);
--accent: oklch(0.828 0.05 311.241);
--accent-foreground: oklch(0.302 0.069 309.751);
--destructive: oklch(0.667 0.223 34.853);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.815 0.046 289.155);
--chart-1: oklch(0.815 0.046 289.155);
--chart-2: oklch(0.84 0.031 256.764);
--chart-3: oklch(0.828 0.05 311.241);
--chart-4: oklch(0.866 0.026 256.749);
--chart-5: oklch(0.811 0.05 289.048);
}