Warren is a shadcn/ui theme built around a deep teal primary color (#0e251a) with deep orange accents (#251a0e). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep teal primary (#0e251a) on a neutral background (#020303).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020303black |
| Foreground | #02120bblack | #fcfdfcwhite |
| Card | #fcfcfcsnow | #030705black |
| Card foreground | #020e08black | #ffffffwhite |
| Popover | #fcfcfcsnow | #030705black |
| Popover foreground | #020e08black | #ffffffwhite |
| Primary | #0e251ablack | #0e251ablack |
| Primary foreground | #46b983mediumseagreen | #46b983mediumseagreen |
| Secondary | #1a0e25black | #1a0e25black |
| Secondary foreground | #b590d5plum | #b590d5plum |
| Muted | #e6e1ealavender | #1a151eblack |
| Muted foreground | #646264dimgray | #9c9b9ddarkgray |
| Accent | #251a0eblack | #251a0eblack |
| Accent foreground | #d5b590tan | #d5b590tan |
| Destructive | #8a190adarkred | #f14c37tomato |
| Destructive foreground | #fbd0cbpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0e251ablack | #0e251ablack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.19:1 | AAA |
| Text on card | 19.22:1 | AAA |
| Primary button | 6.56:1 | AA |
| Secondary button | 6.97:1 | AA |
| Muted text | 4.70:1 | AA |
| Accent | 8.77:1 | AAA |
| Destructive | 6.73:1 | AA |
| Text on background | 20.22:1 | AAA |
| Text on card | 20.26:1 | AAA |
| Primary button | 6.56:1 | AA |
| Secondary button | 6.97:1 | AA |
| Muted text | 6.47:1 | AA |
| Accent | 8.77:1 | AAA |
| Destructive | 3.59:1 | AA Large |
Paste this into your globals.css to use Warren in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.165 0.029 163.948);
--muted: oklch(0.917 0.012 309.656);
--muted-foreground: oklch(0.499 0.003 309.718);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.146 0.025 166.262);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.146 0.025 166.262);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.242 0.036 161.764);
--primary-foreground: oklch(0.706 0.131 159.78);
--secondary: oklch(0.194 0.047 307.149);
--secondary-foreground: oklch(0.712 0.105 308.291);
--accent: oklch(0.229 0.027 69.473);
--accent-foreground: oklch(0.791 0.062 70.485);
--destructive: oklch(0.412 0.151 31.019);
--destructive-foreground: oklch(0.894 0.049 26.907);
--ring: oklch(0.242 0.036 161.764);
--chart-1: oklch(0.242 0.036 161.764);
--chart-2: oklch(0.194 0.047 307.149);
--chart-3: oklch(0.229 0.027 69.473);
--chart-4: oklch(0.222 0.059 306.851);
--chart-5: oklch(0.244 0.038 161.426);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.008 167.04);
--foreground: oklch(0.993 0.002 166.858);
--muted: oklch(0.207 0.017 308.961);
--muted-foreground: oklch(0.69 0.003 309.74);
--popover: oklch(0.121 0.01 167.04);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.121 0.01 167.04);
--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.242 0.036 161.764);
--primary-foreground: oklch(0.706 0.131 159.78);
--secondary: oklch(0.194 0.047 307.149);
--secondary-foreground: oklch(0.712 0.105 308.291);
--accent: oklch(0.229 0.027 69.473);
--accent-foreground: oklch(0.791 0.062 70.485);
--destructive: oklch(0.647 0.205 30.75);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.242 0.036 161.764);
--chart-1: oklch(0.242 0.036 161.764);
--chart-2: oklch(0.194 0.047 307.149);
--chart-3: oklch(0.229 0.027 69.473);
--chart-4: oklch(0.222 0.059 306.851);
--chart-5: oklch(0.244 0.038 161.426);
}