Shallow is a shadcn/ui theme built around a red primary color (#c45236) with cyan accents (#36a8c4). The light mode uses a neutral background (#ffffff). Dark mode keeps the red primary (#c45236) on a red-tinted background (#0f0706).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0f0706black |
| Foreground | #110604black | #fcf9f8snow |
| Card | #ffffffwhite | #0f0706black |
| Card foreground | #110604black | #fcf9f8snow |
| Popover | #ffffffwhite | #0f0706black |
| Popover foreground | #110604black | #fcf9f8snow |
| Primary | #c45236chocolate | #c45236chocolate |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #36a8c4lightseagreen | #36a8c4lightseagreen |
| Secondary foreground | #0a1f24black | #0a1f24black |
| Muted | #cbe1e7gainsboro | #182f34darkslategray |
| Muted foreground | #596e73dimgray | #8ca1a6darkgray |
| Accent | #36a8c4lightseagreen | #36a8c4lightseagreen |
| Accent foreground | #0a1f24black | #0a1f24black |
| Destructive | #bf4503firebrick | #fc752ctomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c45236chocolate | #c45236chocolate |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.96:1 | AAA |
| Text on card | 19.96:1 | AAA |
| Primary button | 4.54:1 | AA |
| Secondary button | 6.10:1 | AA |
| Muted text | 3.96:1 | AA Large |
| Accent | 6.10:1 | AA |
| Destructive | 5.17:1 | AA |
| Text on background | 19.00:1 | AAA |
| Text on card | 19.00:1 | AAA |
| Primary button | 4.54:1 | AA |
| Secondary button | 6.10:1 | AA |
| Muted text | 5.21:1 | AA |
| Accent | 6.10:1 | AA |
| Destructive | 7.69:1 | AAA |
Paste this into your globals.css to use Shallow in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.14 0.022 40.615);
--muted: oklch(0.895 0.025 214.425);
--muted-foreground: oklch(0.523 0.027 214.607);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.14 0.022 40.615);
--card: oklch(1 0 180);
--card-foreground: oklch(0.14 0.022 40.615);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.582 0.153 35.201);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.68 0.107 218.273);
--secondary-foreground: oklch(0.224 0.029 216.363);
--accent: oklch(0.68 0.107 218.273);
--accent-foreground: oklch(0.224 0.029 216.363);
--destructive: oklch(0.552 0.169 41.008);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.582 0.153 35.201);
--chart-1: oklch(0.582 0.153 35.201);
--chart-2: oklch(0.68 0.107 218.273);
--chart-3: oklch(0.68 0.107 218.273);
--chart-4: oklch(0.701 0.106 217.788);
--chart-5: oklch(0.585 0.16 35.167);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.141 0.015 38.075);
--foreground: oklch(0.984 0.003 34.311);
--muted: oklch(0.287 0.03 215.523);
--muted-foreground: oklch(0.694 0.025 214.481);
--popover: oklch(0.141 0.015 38.075);
--popover-foreground: oklch(0.984 0.003 34.311);
--card: oklch(0.141 0.015 38.075);
--card-foreground: oklch(0.984 0.003 34.311);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.582 0.153 35.201);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.68 0.107 218.273);
--secondary-foreground: oklch(0.224 0.029 216.363);
--accent: oklch(0.68 0.107 218.273);
--accent-foreground: oklch(0.224 0.029 216.363);
--destructive: oklch(0.712 0.184 44.948);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.582 0.153 35.201);
--chart-1: oklch(0.582 0.153 35.201);
--chart-2: oklch(0.68 0.107 218.273);
--chart-3: oklch(0.68 0.107 218.273);
--chart-4: oklch(0.701 0.106 217.788);
--chart-5: oklch(0.585 0.16 35.167);
}