Boiling for shadcn/ui

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).

Color palette

TokenLightDark
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

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background19.14:1AAA
Text on card19.14:1AAA
Primary button17.20:1AAA
Secondary button17.15:1AAA
Muted text8.55:1AAA
Accent16.30:1AAA
Destructive6.35:1AA
Dark mode
Text on background20.59:1AAA
Text on card20.59:1AAA
Primary button17.20:1AAA
Secondary button17.15:1AAA
Muted text9.95:1AAA
Accent16.30:1AAA
Destructive5.99:1AA

CSS variables

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);
}