Old is a shadcn/ui theme built around a teal primary color (#3b9b86) with red accents (#9b3b50). The light mode uses a neutral background (#f7fcfb). Dark mode keeps the teal primary (#3b9b86) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fcfbmintcream | #000000black |
| Foreground | #000000black | #f5faf9mintcream |
| Card | #f7fcfbmintcream | #000000black |
| Card foreground | #000000black | #f5faf9mintcream |
| Popover | #f7fcfbmintcream | #000000black |
| Popover foreground | #000000black | #f5faf9mintcream |
| Primary | #3b9b86mediumseagreen | #3b9b86mediumseagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #9b3b50sienna | #9b3b50sienna |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #edd9ddgainsboro | #261216black |
| Muted foreground | #503f43darkslategray | #c0afb3silver |
| Accent | #9b3b50sienna | #9b3b50sienna |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #96320dsaddlebrown | #ee6d3ftomato |
| Destructive foreground | #fce3d9antiquewhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #3b9b86mediumseagreen | #3b9b86mediumseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.34:1 | AAA |
| Text on card | 20.34:1 | AAA |
| Primary button | 3.36:1 | AA Large |
| Secondary button | 6.69:1 | AA |
| Muted text | 7.30:1 | AAA |
| Accent | 6.69:1 | AA |
| Destructive | 6.21:1 | AA |
| Text on background | 19.92:1 | AAA |
| Text on card | 19.92:1 | AAA |
| Primary button | 3.36:1 | AA Large |
| Secondary button | 6.69:1 | AA |
| Muted text | 8.48:1 | AAA |
| Accent | 6.69:1 | AA |
| Destructive | 6.92:1 | AA |
Paste this into your globals.css to use Old in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.006 181.91);
--foreground: oklch(0 0 0);
--muted: oklch(0.903 0.022 2.74);
--muted-foreground: oklch(0.387 0.025 3.766);
--popover: oklch(0.988 0.006 181.91);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.988 0.006 181.91);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.628 0.096 176.153);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.491 0.129 9.953);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.491 0.129 9.953);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.46 0.142 37.846);
--destructive-foreground: oklch(0.933 0.03 41.088);
--ring: oklch(0.628 0.096 176.153);
--chart-1: oklch(0.628 0.096 176.153);
--chart-2: oklch(0.491 0.129 9.953);
--chart-3: oklch(0.491 0.129 9.953);
--chart-4: oklch(0.516 0.137 10.028);
--chart-5: oklch(0.636 0.1 175.782);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.98 0.005 181.929);
--muted: oklch(0.213 0.033 6.288);
--muted-foreground: oklch(0.77 0.02 2.784);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.98 0.005 181.929);
--card: oklch(0 0 0);
--card-foreground: oklch(0.98 0.005 181.929);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.628 0.096 176.153);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.491 0.129 9.953);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.491 0.129 9.953);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.684 0.171 39.757);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.628 0.096 176.153);
--chart-1: oklch(0.628 0.096 176.153);
--chart-2: oklch(0.491 0.129 9.953);
--chart-3: oklch(0.491 0.129 9.953);
--chart-4: oklch(0.516 0.137 10.028);
--chart-5: oklch(0.636 0.1 175.782);
}