Immense for shadcn/ui

Immense is a shadcn/ui theme built around a green primary color (#2ba12d) with muted light green accents (#c2d6c3). The light mode uses a neutral background (#fbfefb). Dark mode keeps the green primary (#2ba12d) on a neutral background (#030803).

Color palette

TokenLightDark
Background
#fbfefbwhite
#030803black
Foreground
#010401black
#fcfdfcwhite
Card
#fbfefbwhite
#030803black
Card foreground
#010401black
#fcfdfcwhite
Popover
#fbfefbwhite
#030803black
Popover foreground
#010401black
#fcfdfcwhite
Primary
#2ba12dforestgreen
#2ba12dforestgreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#c2d6c3silver
#2f372fdarkslategray
Secondary foreground
#293d2adarkslategray
#c8d0c8lightgrey
Muted
#e7eee7beige
#111811black
Muted foreground
#5a6c5bdimgray
#93a593darkseagreen
Accent
#c2d6c3silver
#2f372fdarkslategray
Accent foreground
#293d2adarkslategray
#c8d0c8lightgrey
Destructive
#d93f02orangered
#fd5c1corangered
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#2ba12dforestgreen
#2ba12dforestgreen

Contrast

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

Light mode
Text on background20.29:1AAA
Text on card20.29:1AAA
Primary button3.36:1AA Large
Secondary button7.61:1AAA
Muted text4.76:1AA
Accent7.61:1AAA
Destructive4.49:1AA Large
Dark mode
Text on background19.84:1AAA
Text on card19.84:1AAA
Primary button3.36:1AA Large
Secondary button7.78:1AAA
Muted text6.93:1AA
Accent7.78:1AAA
Destructive6.69:1AA

CSS variables

Paste this into your globals.css to use Immense in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.006 146.005);
  --foreground: oklch(0.098 0.024 143.99);
  --muted: oklch(0.942 0.011 145.958);
  --muted-foreground: oklch(0.512 0.035 145.482);
  --popover: oklch(0.994 0.006 146.005);
  --popover-foreground: oklch(0.098 0.024 143.99);
  --card: oklch(0.994 0.006 146.005);
  --card-foreground: oklch(0.098 0.024 143.99);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.622 0.185 143.139);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.855 0.033 145.731);
  --secondary-foreground: oklch(0.336 0.041 144.986);
  --accent: oklch(0.855 0.033 145.731);
  --accent-foreground: oklch(0.336 0.041 144.986);
  --destructive: oklch(0.59 0.199 36.548);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.622 0.185 143.139);
  --chart-1: oklch(0.622 0.185 143.139);
  --chart-2: oklch(0.855 0.033 145.731);
  --chart-3: oklch(0.855 0.033 145.731);
  --chart-4: oklch(0.877 0.028 145.789);
  --chart-5: oklch(0.63 0.191 143.061);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.121 0.021 144.674);
  --foreground: oklch(0.993 0.003 146.033);
  --muted: oklch(0.198 0.016 145.367);
  --muted-foreground: oklch(0.701 0.032 145.67);
  --popover: oklch(0.121 0.021 144.674);
  --popover-foreground: oklch(0.993 0.003 146.033);
  --card: oklch(0.121 0.021 144.674);
  --card-foreground: oklch(0.993 0.003 146.033);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.622 0.185 143.139);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.327 0.018 145.598);
  --secondary-foreground: oklch(0.849 0.014 145.918);
  --accent: oklch(0.327 0.018 145.598);
  --accent-foreground: oklch(0.849 0.014 145.918);
  --destructive: oklch(0.68 0.208 38.689);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.622 0.185 143.139);
  --chart-1: oklch(0.622 0.185 143.139);
  --chart-2: oklch(0.327 0.018 145.598);
  --chart-3: oklch(0.327 0.018 145.598);
  --chart-4: oklch(0.357 0.02 145.585);
  --chart-5: oklch(0.63 0.191 143.061);
}