Those is a shadcn/ui theme built around a neutral gray primary color (#727474) with muted light cyan accents (#c5d2d3). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#727474) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #010809black | #f9fbfbghostwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #010809black | #f9fbfbghostwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #010809black | #f9fbfbghostwhite |
| Primary | #727474dimgray | #727474dimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #c5d2d3lightgrey | #1e292adarkslategray |
| Secondary foreground | #2c393adarkslategray | #b1c6c8silver |
| Muted | #d2dee0gainsboro | #1f2c2ddarkslategray |
| Muted foreground | #3f494adarkslategray | #b5bfc0silver |
| Accent | #c5d2d3lightgrey | #1e292adarkslategray |
| Accent foreground | #2c393adarkslategray | #b1c6c8silver |
| Destructive | #970202darkred | #e30202red |
| Destructive foreground | #fecdcdpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #727474dimgray | #727474dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.19:1 | AAA |
| Text on card | 20.19:1 | AAA |
| Primary button | 4.72:1 | AA |
| Secondary button | 7.71:1 | AAA |
| Muted text | 6.76:1 | AA |
| Accent | 7.71:1 | AAA |
| Destructive | 6.35:1 | AA |
| Text on background | 20.21:1 | AAA |
| Text on card | 20.21:1 | AAA |
| Primary button | 4.72:1 | AA |
| Secondary button | 8.40:1 | AAA |
| Muted text | 7.66:1 | AAA |
| Accent | 8.40:1 | AAA |
| Destructive | 4.90:1 | AA |
Paste this into your globals.css to use Those in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.125 0.016 200.631);
--muted: oklch(0.893 0.014 203.445);
--muted-foreground: oklch(0.398 0.013 203.312);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.125 0.016 200.631);
--card: oklch(1 0 180);
--card-foreground: oklch(0.125 0.016 200.631);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.556 0.003 203.538);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.854 0.014 203.433);
--secondary-foreground: oklch(0.333 0.017 203.201);
--accent: oklch(0.854 0.014 203.433);
--accent-foreground: oklch(0.333 0.017 203.201);
--destructive: oklch(0.426 0.174 29.112);
--destructive-foreground: oklch(0.89 0.057 18.274);
--ring: oklch(0.556 0.003 203.538);
--chart-1: oklch(0.556 0.003 203.538);
--chart-2: oklch(0.854 0.014 203.433);
--chart-3: oklch(0.854 0.014 203.433);
--chart-4: oklch(0.876 0.012 203.458);
--chart-5: oklch(0.561 0.01 203.422);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.986 0.002 203.563);
--muted: oklch(0.282 0.017 203.164);
--muted-foreground: oklch(0.796 0.011 203.455);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.986 0.002 203.563);
--card: oklch(0 0 0);
--card-foreground: oklch(0.986 0.002 203.563);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.556 0.003 203.538);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.27 0.016 203.179);
--secondary-foreground: oklch(0.812 0.023 203.348);
--accent: oklch(0.27 0.016 203.179);
--accent-foreground: oklch(0.812 0.023 203.348);
--destructive: oklch(0.576 0.236 29.16);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.556 0.003 203.538);
--chart-1: oklch(0.556 0.003 203.538);
--chart-2: oklch(0.27 0.016 203.179);
--chart-3: oklch(0.27 0.016 203.179);
--chart-4: oklch(0.303 0.018 203.168);
--chart-5: oklch(0.561 0.01 203.422);
}