Heater is a shadcn/ui theme built around a vivid yellow primary color (#f6ed83) with muted light yellow accents (#d6d4c2). The light mode uses a neutral background (#fdfcf7). Dark mode keeps the vivid yellow primary (#f6ed83) on a yellow-tinted background (#100f04).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcf7snow | #100f04black |
| Foreground | #111003black | #f9f8f6whitesmoke |
| Card | #fdfcf7snow | #100f04black |
| Card foreground | #111003black | #f9f8f6whitesmoke |
| Popover | #fdfcf7snow | #100f04black |
| Popover foreground | #111003black | #f9f8f6whitesmoke |
| Primary | #f6ed83khaki | #f6ed83khaki |
| Primary foreground | #433e05darkolivegreen | #433e05darkolivegreen |
| Secondary | #ddddd4gainsboro | #212018black |
| Secondary foreground | #474638darkslategray | #c1bfa9silver |
| Muted | #ecece9linen | #161613black |
| Muted foreground | #6e6d59dimgray | #a6a591darkgray |
| Accent | #d6d4c2lightgrey | #383624darkslategray |
| Accent foreground | #3d3b29darkslategray | #d3d1bblightgrey |
| Destructive | #b34809saddlebrown | #f36e20chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f6ed83khaki | #f6ed83khaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.59:1 | AAA |
| Text on card | 18.59:1 | AAA |
| Primary button | 8.98:1 | AAA |
| Secondary button | 6.96:1 | AA |
| Muted text | 4.44:1 | AA Large |
| Accent | 7.57:1 | AAA |
| Destructive | 5.45:1 | AA |
| Text on background | 18.09:1 | AAA |
| Text on card | 18.09:1 | AAA |
| Primary button | 8.98:1 | AAA |
| Secondary button | 8.82:1 | AAA |
| Muted text | 7.26:1 | AAA |
| Accent | 7.87:1 | AAA |
| Destructive | 7.05:1 | AAA |
Paste this into your globals.css to use Heater in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.006 102.318);
--foreground: oklch(0.17 0.026 104.799);
--muted: oklch(0.943 0.004 102.29);
--muted-foreground: oklch(0.529 0.03 103.084);
--popover: oklch(0.99 0.006 102.318);
--popover-foreground: oklch(0.17 0.026 104.799);
--card: oklch(0.99 0.006 102.318);
--card-foreground: oklch(0.17 0.026 104.799);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.931 0.128 103.982);
--primary-foreground: oklch(0.357 0.072 103.857);
--secondary: oklch(0.894 0.011 102.418);
--secondary-foreground: oklch(0.391 0.023 103.098);
--accent: oklch(0.867 0.024 102.653);
--accent-foreground: oklch(0.349 0.029 103.433);
--destructive: oklch(0.538 0.154 43.468);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.931 0.128 103.982);
--chart-1: oklch(0.931 0.128 103.982);
--chart-2: oklch(0.894 0.011 102.418);
--chart-3: oklch(0.867 0.024 102.653);
--chart-4: oklch(0.916 0.009 102.373);
--chart-5: oklch(0.936 0.132 104.004);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.166 0.023 104.533);
--foreground: oklch(0.98 0.003 102.262);
--muted: oklch(0.199 0.007 102.733);
--muted-foreground: oklch(0.717 0.028 102.83);
--popover: oklch(0.166 0.023 104.533);
--popover-foreground: oklch(0.98 0.003 102.262);
--card: oklch(0.166 0.023 104.533);
--card-foreground: oklch(0.98 0.003 102.262);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.931 0.128 103.982);
--primary-foreground: oklch(0.357 0.072 103.857);
--secondary: oklch(0.241 0.015 103.158);
--secondary-foreground: oklch(0.8 0.03 102.797);
--accent: oklch(0.33 0.031 103.542);
--accent-foreground: oklch(0.857 0.031 102.774);
--destructive: oklch(0.689 0.184 45.31);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.931 0.128 103.982);
--chart-1: oklch(0.931 0.128 103.982);
--chart-2: oklch(0.241 0.015 103.158);
--chart-3: oklch(0.33 0.031 103.542);
--chart-4: oklch(0.276 0.018 103.216);
--chart-5: oklch(0.936 0.132 104.004);
}