Boiling is a shadcn/ui theme built around a vivid light green primary color (#ddfcab) with vivid light green accents (#b5fcab). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light green primary (#ddfcab) on a neutral background (#030402).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030402black |
| Foreground | #0c1103black | #ffffffwhite |
| Card | #ffffffwhite | #030402black |
| Card foreground | #0c1103black | #ffffffwhite |
| Popover | #ffffffwhite | #030402black |
| Popover foreground | #0c1103black | #ffffffwhite |
| Primary | #ddfcabpalegoldenrod | #ddfcabpalegoldenrod |
| Primary foreground | #090f01black | #090f01black |
| Secondary | #fcf3abpalegoldenrod | #fcf3abpalegoldenrod |
| Secondary foreground | #0f0d01black | #0f0d01black |
| Muted | #efefeblinen | #141310black |
| Muted foreground | #444341darkslategray | #bebebbsilver |
| Accent | #b5fcabpalegreen | #b5fcabpalegreen |
| Accent foreground | #020f01black | #020f01black |
| Destructive | #a22b11firebrick | #ea5939tomato |
| Destructive foreground | #fdece8linen | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ddfcabpalegoldenrod | #ddfcabpalegoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.14:1 | AAA |
| Text on card | 19.14:1 | AAA |
| Primary button | 17.20:1 | AAA |
| Secondary button | 17.15:1 | AAA |
| Muted text | 8.55:1 | AAA |
| Accent | 16.30:1 | AAA |
| Destructive | 6.35:1 | AA |
| Text on background | 20.59:1 | AAA |
| Text on card | 20.59:1 | AAA |
| Primary button | 17.20:1 | AAA |
| Secondary button | 17.15:1 | AAA |
| Muted text | 9.95:1 | AAA |
| Accent | 16.30:1 | AAA |
| Destructive | 5.99:1 | AA |
Paste this into your globals.css to use Boiling in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.167 0.03 124.857);
--muted: oklch(0.95 0.005 100.405);
--muted-foreground: oklch(0.384 0.004 100.486);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.167 0.03 124.857);
--card: oklch(1 0 180);
--card-foreground: oklch(0.167 0.03 124.857);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.95 0.108 125.442);
--primary-foreground: oklch(0.156 0.036 123.659);
--secondary: oklch(0.954 0.09 101.544);
--secondary-foreground: oklch(0.157 0.031 104.357);
--accent: oklch(0.924 0.128 141.64);
--accent-foreground: oklch(0.148 0.044 139.366);
--destructive: oklch(0.473 0.159 33.664);
--destructive-foreground: oklch(0.955 0.019 32.674);
--ring: oklch(0.95 0.108 125.442);
--chart-1: oklch(0.95 0.108 125.442);
--chart-2: oklch(0.954 0.09 101.544);
--chart-3: oklch(0.924 0.128 141.64);
--chart-4: oklch(0.961 0.075 101.378);
--chart-5: oklch(0.953 0.112 125.497);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.099 0.011 123.183);
--foreground: oklch(1 0 180);
--muted: oklch(0.188 0.007 100.865);
--muted-foreground: oklch(0.8 0.003 100.393);
--popover: oklch(0.099 0.011 123.183);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.099 0.011 123.183);
--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.95 0.108 125.442);
--primary-foreground: oklch(0.156 0.036 123.659);
--secondary: oklch(0.954 0.09 101.544);
--secondary-foreground: oklch(0.157 0.031 104.357);
--accent: oklch(0.924 0.128 141.64);
--accent-foreground: oklch(0.148 0.044 139.366);
--destructive: oklch(0.65 0.186 34.144);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.95 0.108 125.442);
--chart-1: oklch(0.95 0.108 125.442);
--chart-2: oklch(0.954 0.09 101.544);
--chart-3: oklch(0.924 0.128 141.64);
--chart-4: oklch(0.961 0.075 101.378);
--chart-5: oklch(0.953 0.112 125.497);
}