Immense for shadcn/ui

Immense is a shadcn/ui theme built around a muted green primary color (#667859) with muted violet accents (#6b5978). The light mode uses a neutral background (#f9fdf7). Dark mode keeps the muted green primary (#667859) on a neutral background (#050802).

Color palette

TokenLightDark
Background
#f9fdf7mintcream
#050802black
Foreground
#070c03black
#fafbf8snow
Card
#f9fdf7mintcream
#050802black
Card foreground
#070c03black
#fafbf8snow
Popover
#f9fdf7mintcream
#050802black
Popover foreground
#070c03black
#fafbf8snow
Primary
#667859dimgray
#667859dimgray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#6b5978dimgray
#6b5978dimgray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#f2f1f3whitesmoke
#0d0c0eblack
Muted foreground
#575558dimgray
#a9a7aadarkgray
Accent
#6b5978dimgray
#6b5978dimgray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#8e290bsaddlebrown
#e84411orangered
Destructive foreground
#fbdad0bisque
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#667859dimgray
#667859dimgray

Contrast

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

Light mode
Text on background19.17:1AAA
Text on card19.17:1AAA
Primary button4.76:1AA
Secondary button6.31:1AA
Muted text6.57:1AA
Accent6.31:1AA
Destructive6.46:1AA
Dark mode
Text on background19.41:1AAA
Text on card19.41:1AAA
Primary button4.76:1AA
Secondary button6.31:1AA
Muted text8.18:1AAA
Accent6.31:1AA
Destructive3.98:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.008 131.787);
  --foreground: oklch(0.146 0.025 130.439);
  --muted: oklch(0.96 0.003 311.699);
  --muted-foreground: oklch(0.452 0.006 311.615);
  --popover: oklch(0.989 0.008 131.787);
  --popover-foreground: oklch(0.146 0.025 130.439);
  --card: oklch(0.989 0.008 131.787);
  --card-foreground: oklch(0.146 0.025 130.439);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.55 0.052 132.549);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.493 0.054 310.843);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.493 0.054 310.843);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.436 0.141 35.862);
  --destructive-foreground: oklch(0.913 0.04 37.605);
  --ring: oklch(0.55 0.052 132.549);
  --chart-1: oklch(0.55 0.052 132.549);
  --chart-2: oklch(0.493 0.054 310.843);
  --chart-3: oklch(0.493 0.054 310.843);
  --chart-4: oklch(0.519 0.057 310.836);
  --chart-5: oklch(0.556 0.062 132.715);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.126 0.02 130.325);
  --foreground: oklch(0.987 0.004 131.76);
  --muted: oklch(0.155 0.005 311.481);
  --muted-foreground: oklch(0.73 0.005 311.664);
  --popover: oklch(0.126 0.02 130.325);
  --popover-foreground: oklch(0.987 0.004 131.76);
  --card: oklch(0.126 0.02 130.325);
  --card-foreground: oklch(0.987 0.004 131.76);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.55 0.052 132.549);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.493 0.054 310.843);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.493 0.054 310.843);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.621 0.208 35.327);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.55 0.052 132.549);
  --chart-1: oklch(0.55 0.052 132.549);
  --chart-2: oklch(0.493 0.054 310.843);
  --chart-3: oklch(0.493 0.054 310.843);
  --chart-4: oklch(0.519 0.057 310.836);
  --chart-5: oklch(0.556 0.062 132.715);
}