Tepid is a shadcn/ui theme built around a muted deep blue primary color (#202c32) with muted deep orange accents (#322620). The light mode uses a neutral background (#f7fbfd). Dark mode keeps the muted deep blue primary (#202c32) on a neutral background (#030607).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fbfdghostwhite | #030607black |
| Foreground | #030d11black | #fcfdfdwhite |
| Card | #f3f9fcaliceblue | #04090bblack |
| Card foreground | #02090dblack | #ffffffwhite |
| Popover | #f7fbfdghostwhite | #030607black |
| Popover foreground | #030d11black | #fcfdfdwhite |
| Primary | #202c32darkslategray | #202c32darkslategray |
| Primary foreground | #b4c6cflightsteelblue | #b4c6cflightsteelblue |
| Secondary | #322620darkslategray | #322620darkslategray |
| Secondary foreground | #cfbdb4silver | #cfbdb4silver |
| Muted | #f1e8e4linen | #1b120eblack |
| Muted foreground | #535150darkslategray | #afadacdarkgray |
| Accent | #322620darkslategray | #322620darkslategray |
| Accent foreground | #cfbdb4silver | #cfbdb4silver |
| Destructive | #d42811firebrick | #ee462ftomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #202c32darkslategray | #202c32darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.84:1 | AAA |
| Text on card | 18.84:1 | AAA |
| Primary button | 8.14:1 | AAA |
| Secondary button | 8.10:1 | AAA |
| Muted text | 6.55:1 | AA |
| Accent | 8.10:1 | AAA |
| Destructive | 5.09:1 | AA |
| Text on background | 19.96:1 | AAA |
| Text on card | 20.02:1 | AAA |
| Primary button | 8.14:1 | AAA |
| Secondary button | 8.10:1 | AAA |
| Muted text | 8.23:1 | AAA |
| Accent | 8.10:1 | AAA |
| Destructive | 3.78:1 | AA Large |
Paste this into your globals.css to use Tepid in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.985 0.005 228.816);
--foreground: oklch(0.149 0.02 226.501);
--muted: oklch(0.938 0.012 48.602);
--muted-foreground: oklch(0.437 0.003 48.656);
--popover: oklch(0.985 0.005 228.816);
--popover-foreground: oklch(0.149 0.02 226.501);
--card: oklch(0.978 0.007 228.85);
--card-foreground: oklch(0.134 0.017 222.79);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.284 0.02 229.925);
--primary-foreground: oklch(0.817 0.023 229.153);
--secondary: oklch(0.28 0.021 47.946);
--secondary-foreground: oklch(0.812 0.024 48.409);
--accent: oklch(0.28 0.021 47.946);
--accent-foreground: oklch(0.812 0.024 48.409);
--destructive: oklch(0.563 0.209 30.972);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.284 0.02 229.925);
--chart-1: oklch(0.284 0.02 229.925);
--chart-2: oklch(0.28 0.021 47.946);
--chart-3: oklch(0.28 0.021 47.946);
--chart-4: oklch(0.311 0.024 47.914);
--chart-5: oklch(0.285 0.022 230.13);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.117 0.01 223.639);
--foreground: oklch(0.993 0.001 228.768);
--muted: oklch(0.193 0.017 47.798);
--muted-foreground: oklch(0.749 0.003 48.702);
--popover: oklch(0.117 0.01 223.639);
--popover-foreground: oklch(0.993 0.001 228.768);
--card: oklch(0.134 0.011 223.974);
--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.284 0.02 229.925);
--primary-foreground: oklch(0.817 0.023 229.153);
--secondary: oklch(0.28 0.021 47.946);
--secondary-foreground: oklch(0.812 0.024 48.409);
--accent: oklch(0.28 0.021 47.946);
--accent-foreground: oklch(0.812 0.024 48.409);
--destructive: oklch(0.635 0.209 30.885);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.284 0.02 229.925);
--chart-1: oklch(0.284 0.02 229.925);
--chart-2: oklch(0.28 0.021 47.946);
--chart-3: oklch(0.28 0.021 47.946);
--chart-4: oklch(0.311 0.024 47.914);
--chart-5: oklch(0.285 0.022 230.13);
}