Hot is a shadcn/ui theme built around a vivid light green primary color (#e5f49f) with muted light green accents (#d4d7c6). The light mode uses a neutral background (#fbfcf8). Dark mode keeps the vivid light green primary (#e5f49f) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcf8snow | #000000black |
| Foreground | #070802black | #fbfcf8snow |
| Card | #f9faf4whitesmoke | #030303black |
| Card foreground | #040401black | #fdfdfcwhite |
| Popover | #fbfcf8snow | #000000black |
| Popover foreground | #070802black | #fbfcf8snow |
| Primary | #e5f49fpalegoldenrod | #e5f49fpalegoldenrod |
| Primary foreground | #49570adarkolivegreen | #49570adarkolivegreen |
| Secondary | #e3e4ddgainsboro | #161613black |
| Secondary foreground | #4c4f40darkslategray | #b2b5a6darkgray |
| Muted | #e1e3d9gainsboro | #24261cblack |
| Muted foreground | #545648darkolivegreen | #b4b7a9darkgray |
| Accent | #d4d7c6lightgrey | #2b2d1fdarkslategray |
| Accent foreground | #3b3f2cdarkslategray | #c7cbb4silver |
| Destructive | #841b0bmaroon | #ef4d34tomato |
| Destructive foreground | #facdc6pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e5f49fpalegoldenrod | #e5f49fpalegoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.51:1 | AAA |
| Text on card | 19.63:1 | AAA |
| Primary button | 6.71:1 | AA |
| Secondary button | 6.54:1 | AA |
| Muted text | 5.77:1 | AA |
| Accent | 7.40:1 | AAA |
| Destructive | 6.81:1 | AA |
| Text on background | 20.38:1 | AAA |
| Text on card | 20.31:1 | AAA |
| Primary button | 6.71:1 | AA |
| Secondary button | 8.67:1 | AAA |
| Muted text | 7.49:1 | AAA |
| Accent | 8.42:1 | AAA |
| Destructive | 3.64:1 | AA Large |
Paste this into your globals.css to use Hot in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.006 114.927);
--foreground: oklch(0.131 0.021 115.579);
--muted: oklch(0.911 0.013 115.096);
--muted-foreground: oklch(0.447 0.023 115.764);
--popover: oklch(0.989 0.006 114.927);
--popover-foreground: oklch(0.131 0.021 115.579);
--card: oklch(0.984 0.008 114.98);
--card-foreground: oklch(0.104 0.016 115.579);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.937 0.11 117.035);
--primary-foreground: oklch(0.43 0.097 120.323);
--secondary: oklch(0.915 0.009 115.008);
--secondary-foreground: oklch(0.421 0.025 115.939);
--accent: oklch(0.872 0.022 115.3);
--accent-foreground: oklch(0.358 0.03 116.4);
--destructive: oklch(0.402 0.143 31.609);
--destructive-foreground: oklch(0.886 0.052 28.349);
--ring: oklch(0.937 0.11 117.035);
--chart-1: oklch(0.937 0.11 117.035);
--chart-2: oklch(0.915 0.009 115.008);
--chart-3: oklch(0.872 0.022 115.3);
--chart-4: oklch(0.937 0.007 114.958);
--chart-5: oklch(0.941 0.113 117.105);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.989 0.005 114.91);
--muted: oklch(0.264 0.018 116.088);
--muted-foreground: oklch(0.774 0.02 115.301);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.989 0.005 114.91);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.994 0.002 114.866);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.937 0.11 117.035);
--primary-foreground: oklch(0.43 0.097 120.323);
--secondary: oklch(0.199 0.007 115.494);
--secondary-foreground: oklch(0.766 0.021 115.322);
--accent: oklch(0.291 0.024 116.368);
--accent-foreground: oklch(0.832 0.032 115.524);
--destructive: oklch(0.643 0.202 31.554);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.937 0.11 117.035);
--chart-1: oklch(0.937 0.11 117.035);
--chart-2: oklch(0.199 0.007 115.494);
--chart-3: oklch(0.291 0.024 116.368);
--chart-4: oklch(0.235 0.01 115.573);
--chart-5: oklch(0.941 0.113 117.105);
}