Current Vivid Imagination for shadcn/ui

Current Vivid Imagination is a shadcn/ui theme built around a green primary color (#549c55) with muted light green accents (#c8d5c8). The light mode uses a neutral background (#f7fdf7). Dark mode keeps the green primary (#549c55) on a neutral background (#010401).

Color palette

TokenLightDark
Background
#f7fdf7mintcream
#010401black
Foreground
#041604black
#fcfdfcwhite
Card
#f2fcf2honeydew
#030703black
Card foreground
#031103black
#ffffffwhite
Popover
#f7fdf7mintcream
#010401black
Popover foreground
#041604black
#fcfdfcwhite
Primary
#549c55seagreen
#549c55seagreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#c8d5c8lightgrey
#1a231ablack
Secondary foreground
#2e3d2edarkslategray
#adc2addarkgray
Muted
#eef1eewhitesmoke
#0e110eblack
Muted foreground
#545454dimgray
#abababdarkgray
Accent
#c8d5c8lightgrey
#1a231ablack
Accent foreground
#2e3d2edarkslategray
#adc2addarkgray
Destructive
#cf5a17chocolate
#e76e27chocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#e3e8e3gainsboro
#1e241eblack
Input
#e3e8e3gainsboro
#1e241eblack
Ring
#549c55seagreen
#549c55seagreen

Contrast

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

Light mode
Text on background18.15:1AAA
Text on card18.47:1AAA
Primary button3.36:1AA Large
Secondary button7.58:1AAA
Muted text6.66:1AA
Accent7.58:1AAA
Destructive4.09:1AA Large
Dark mode
Text on background20.22:1AAA
Text on card20.25:1AAA
Primary button3.36:1AA Large
Secondary button8.52:1AAA
Muted text8.29:1AAA
Accent8.52:1AAA
Destructive6.64:1AA

CSS variables

Paste this into your globals.css to use Current Vivid Imagination in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.011 145.961);
  --foreground: oklch(0.177 0.045 143.813);
  --muted: oklch(0.956 0.005 146.014);
  --muted-foreground: oklch(0.446 0 180);
  --popover: oklch(0.988 0.011 145.961);
  --popover-foreground: oklch(0.177 0.045 143.813);
  --card: oklch(0.982 0.017 145.914);
  --card-foreground: oklch(0.16 0.039 143.926);
  --border: oklch(0.926 0.008 145.985);
  --input: oklch(0.926 0.008 145.985);
  --primary: oklch(0.627 0.126 144.221);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.86 0.023 145.83);
  --secondary-foreground: oklch(0.342 0.032 145.252);
  --accent: oklch(0.86 0.023 145.83);
  --accent-foreground: oklch(0.342 0.032 145.252);
  --destructive: oklch(0.607 0.164 44.964);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.627 0.126 144.221);
  --chart-1: oklch(0.627 0.126 144.221);
  --chart-2: oklch(0.86 0.023 145.83);
  --chart-3: oklch(0.86 0.023 145.83);
  --chart-4: oklch(0.882 0.02 145.872);
  --chart-5: oklch(0.634 0.137 144.067);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.096 0.015 144.819);
  --foreground: oklch(0.993 0.003 146.029);
  --muted: oklch(0.172 0.007 145.713);
  --muted-foreground: oklch(0.741 0 171.254);
  --popover: oklch(0.096 0.015 144.819);
  --popover-foreground: oklch(0.993 0.003 146.029);
  --card: oklch(0.121 0.019 144.819);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.253 0.014 145.595);
  --input: oklch(0.253 0.014 145.595);
  --primary: oklch(0.627 0.126 144.221);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.245 0.021 145.31);
  --secondary-foreground: oklch(0.793 0.038 145.66);
  --accent: oklch(0.245 0.021 145.31);
  --accent-foreground: oklch(0.793 0.038 145.66);
  --destructive: oklch(0.672 0.17 46.334);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.627 0.126 144.221);
  --chart-1: oklch(0.627 0.126 144.221);
  --chart-2: oklch(0.245 0.021 145.31);
  --chart-3: oklch(0.245 0.021 145.31);
  --chart-4: oklch(0.278 0.026 145.261);
  --chart-5: oklch(0.634 0.137 144.067);
}