Tepid is a shadcn/ui theme built around a light red primary color (#fdf4f2) with neutral gray accents (#cfcac9). The light mode uses a neutral background (#fdf8f7). Dark mode keeps the light red primary (#fdf4f2) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf8f7snow | #000000black |
| Foreground | #080302black | #fdfcfcsnow |
| Card | #fcf4f2seashell | #030303black |
| Card foreground | #040201black | #ffffffwhite |
| Popover | #fcf4f2seashell | #030303black |
| Popover foreground | #040201black | #ffffffwhite |
| Primary | #fdf4f2seashell | #fdf4f2seashell |
| Primary foreground | #9f351dbrown | #9f351dbrown |
| Secondary | #e1e0e0gainsboro | #322f2fdarkslategray |
| Secondary foreground | #484747darkslategray | #ccc8c7silver |
| Muted | #e1dcdbgainsboro | #241f1eblack |
| Muted foreground | #686564dimgray | #9b9897darkgray |
| Accent | #cfcac9lightgrey | #4c403ddarkslategray |
| Accent foreground | #363130darkslategray | #e1dcdagainsboro |
| Destructive | #d4560cchocolate | #f1610eorangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fdf4f2seashell | #fdf4f2seashell |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.45:1 | AAA |
| Text on card | 19.13:1 | AAA |
| Primary button | 6.45:1 | AA |
| Secondary button | 7.03:1 | AAA |
| Muted text | 4.25:1 | AA Large |
| Accent | 7.90:1 | AAA |
| Destructive | 4.09:1 | AA Large |
| Text on background | 20.50:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 6.45:1 | AA |
| Secondary button | 7.96:1 | AAA |
| Muted text | 5.66:1 | AA |
| Accent | 7.31:1 | AAA |
| Destructive | 6.46:1 | AA |
Paste this into your globals.css to use Tepid in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.006 32.661);
--foreground: oklch(0.109 0.015 39.77);
--muted: oklch(0.898 0.006 32.661);
--muted-foreground: oklch(0.509 0.004 32.662);
--popover: oklch(0.974 0.009 32.662);
--popover-foreground: oklch(0.087 0.012 39.77);
--card: oklch(0.974 0.009 32.662);
--card-foreground: oklch(0.087 0.012 39.77);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.973 0.01 32.663);
--primary-foreground: oklch(0.482 0.146 34.076);
--secondary: oklch(0.908 0.001 32.661);
--secondary-foreground: oklch(0.399 0.002 32.661);
--accent: oklch(0.843 0.006 32.661);
--accent-foreground: oklch(0.318 0.007 32.68);
--destructive: oklch(0.609 0.175 43.302);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.973 0.01 32.663);
--chart-1: oklch(0.973 0.01 32.663);
--chart-2: oklch(0.908 0.001 32.661);
--chart-3: oklch(0.843 0.006 32.661);
--chart-4: oklch(0.931 0 32.661);
--chart-5: oklch(0.973 0.01 32.663);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.992 0.001 32.661);
--muted: oklch(0.246 0.008 32.699);
--muted-foreground: oklch(0.681 0.004 32.661);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.973 0.01 32.663);
--primary-foreground: oklch(0.482 0.146 34.076);
--secondary: oklch(0.309 0.005 32.667);
--secondary-foreground: oklch(0.836 0.004 32.661);
--accent: oklch(0.384 0.018 32.746);
--accent-foreground: oklch(0.897 0.007 32.661);
--destructive: oklch(0.669 0.194 43.067);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.973 0.01 32.663);
--chart-1: oklch(0.973 0.01 32.663);
--chart-2: oklch(0.309 0.005 32.667);
--chart-3: oklch(0.384 0.018 32.746);
--chart-4: oklch(0.339 0.005 32.668);
--chart-5: oklch(0.973 0.01 32.663);
}