Project is a shadcn/ui theme built around a teal primary color (#71c1b4) with yellow accents (#c1b471). The light mode uses a neutral background (#f7fdfc). Dark mode keeps the teal primary (#71c1b4) on a teal-tinted background (#050a09).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdfcmintcream | #050a09black |
| Foreground | #000000black | #f8fbfbghostwhite |
| Card | #f7fdfcmintcream | #050a09black |
| Card foreground | #000000black | #f8fbfbghostwhite |
| Popover | #f7fdfcmintcream | #050a09black |
| Popover foreground | #000000black | #f8fbfbghostwhite |
| Primary | #71c1b4mediumaquamarine | #71c1b4mediumaquamarine |
| Primary foreground | #000000black | #000000black |
| Secondary | #b471c1mediumorchid | #b471c1mediumorchid |
| Secondary foreground | #000000black | #000000black |
| Muted | #e7d7eagainsboro | #251528black |
| Muted foreground | #705775dimgray | #a38aa8darkgray |
| Accent | #c1b471darkkhaki | #c1b471darkkhaki |
| Accent foreground | #000000black | #000000black |
| Destructive | #b73a01firebrick | #f44e01orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #71c1b4mediumaquamarine | #71c1b4mediumaquamarine |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.35:1 | AAA |
| Text on card | 20.35:1 | AAA |
| Primary button | 9.96:1 | AAA |
| Secondary button | 6.06:1 | AA |
| Muted text | 4.61:1 | AA |
| Accent | 9.99:1 | AAA |
| Destructive | 5.79:1 | AA |
| Text on background | 19.14:1 | AAA |
| Text on card | 19.14:1 | AAA |
| Primary button | 9.96:1 | AAA |
| Secondary button | 6.06:1 | AA |
| Muted text | 5.55:1 | AA |
| Accent | 9.99:1 | AAA |
| Destructive | 3.54:1 | AA Large |
Paste this into your globals.css to use Project in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.006 185.301);
--foreground: oklch(0 0 0);
--muted: oklch(0.897 0.031 320.584);
--muted-foreground: oklch(0.493 0.057 320.694);
--popover: oklch(0.988 0.006 185.301);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.988 0.006 185.301);
--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.755 0.081 182.182);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.649 0.135 320.76);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.764 0.088 98.286);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.526 0.169 38.73);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.755 0.081 182.182);
--chart-1: oklch(0.755 0.081 182.182);
--chart-2: oklch(0.649 0.135 320.76);
--chart-3: oklch(0.764 0.088 98.286);
--chart-4: oklch(0.675 0.125 320.752);
--chart-5: oklch(0.762 0.086 181.95);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.138 0.009 185.256);
--foreground: oklch(0.987 0.003 185.359);
--muted: oklch(0.226 0.042 320.752);
--muted-foreground: oklch(0.666 0.053 320.649);
--popover: oklch(0.138 0.009 185.256);
--popover-foreground: oklch(0.987 0.003 185.359);
--card: oklch(0.138 0.009 185.256);
--card-foreground: oklch(0.987 0.003 185.359);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.755 0.081 182.182);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.649 0.135 320.76);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.764 0.088 98.286);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.65 0.212 38.031);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.755 0.081 182.182);
--chart-1: oklch(0.755 0.081 182.182);
--chart-2: oklch(0.649 0.135 320.76);
--chart-3: oklch(0.764 0.088 98.286);
--chart-4: oklch(0.675 0.125 320.752);
--chart-5: oklch(0.762 0.086 181.95);
}