Tepid is a shadcn/ui theme built around a muted yellow primary color (#6f6a58) with muted blue accents (#585d6f). The light mode uses a neutral background (#fefdfb). Dark mode keeps the muted yellow primary (#6f6a58) on a yellow-tinted background (#0a0905).
| Token | Light | Dark |
|---|---|---|
| Background | #fefdfbsnow | #0a0905black |
| Foreground | #040301black | #fdfdfcwhite |
| Card | #fcfbf8snow | #0d0c07black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fefdfbsnow | #0a0905black |
| Popover foreground | #040301black | #fdfdfcwhite |
| Primary | #6f6a58dimgray | #6f6a58dimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #585d6fdimgray | #585d6fdimgray |
| Secondary foreground | #fcfcfdwhite | #fcfcfdwhite |
| Muted | #e1e4eflavender | #10131eblack |
| Muted foreground | #393c46darkslategray | #b9bcc6silver |
| Accent | #585d6fdimgray | #585d6fdimgray |
| Accent foreground | #fcfcfdwhite | #fcfcfdwhite |
| Destructive | #702700maroon | #ff6714orangered |
| Destructive foreground | #ffc3a3navajowhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #6f6a58dimgray | #6f6a58dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.27:1 | AAA |
| Text on card | 20.30:1 | AAA |
| Primary button | 5.42:1 | AA |
| Secondary button | 6.38:1 | AA |
| Muted text | 8.68:1 | AAA |
| Accent | 6.38:1 | AA |
| Destructive | 6.84:1 | AA |
| Text on background | 19.57:1 | AAA |
| Text on card | 19.57:1 | AAA |
| Primary button | 5.42:1 | AA |
| Secondary button | 6.38:1 | AA |
| Muted text | 9.75:1 | AAA |
| Accent | 6.38:1 | AA |
| Destructive | 7.18:1 | AAA |
Paste this into your globals.css to use Tepid in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 92.68);
--foreground: oklch(0.101 0.015 98.171);
--muted: oklch(0.92 0.015 272.481);
--muted-foreground: oklch(0.359 0.017 272.095);
--popover: oklch(0.994 0.002 92.68);
--popover-foreground: oklch(0.101 0.015 98.171);
--card: oklch(0.988 0.005 92.703);
--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.523 0.028 93.08);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.481 0.03 271.902);
--secondary-foreground: oklch(0.992 0.001 272.65);
--accent: oklch(0.481 0.03 271.902);
--accent-foreground: oklch(0.992 0.001 272.65);
--destructive: oklch(0.378 0.113 42.747);
--destructive-foreground: oklch(0.864 0.081 49.555);
--ring: oklch(0.523 0.028 93.08);
--chart-1: oklch(0.523 0.028 93.08);
--chart-2: oklch(0.481 0.03 271.902);
--chart-3: oklch(0.481 0.03 271.902);
--chart-4: oklch(0.506 0.032 271.894);
--chart-5: oklch(0.529 0.035 93.132);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.01 95.45);
--foreground: oklch(0.993 0.001 92.668);
--muted: oklch(0.19 0.023 271.052);
--muted-foreground: oklch(0.795 0.014 272.467);
--popover: oklch(0.139 0.01 95.45);
--popover-foreground: oklch(0.993 0.001 92.668);
--card: oklch(0.154 0.011 93.984);
--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.523 0.028 93.08);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.481 0.03 271.902);
--secondary-foreground: oklch(0.992 0.001 272.65);
--accent: oklch(0.481 0.03 271.902);
--accent-foreground: oklch(0.992 0.001 272.65);
--destructive: oklch(0.697 0.202 42.428);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.523 0.028 93.08);
--chart-1: oklch(0.523 0.028 93.08);
--chart-2: oklch(0.481 0.03 271.902);
--chart-3: oklch(0.481 0.03 271.902);
--chart-4: oklch(0.506 0.032 271.894);
--chart-5: oklch(0.529 0.035 93.132);
}