Vigorous for shadcn/ui

Vigorous is a shadcn/ui theme built around a vivid blue primary color (#1569b2) with vivid green accents (#69b215). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid blue primary (#1569b2) on a neutral background (#020508).

Color palette

TokenLightDark
Background
#ffffffwhite
#020508black
Foreground
#050b0fblack
#fcfcfdwhite
Card
#ffffffwhite
#020508black
Card foreground
#050b0fblack
#fcfcfdwhite
Popover
#ffffffwhite
#020508black
Popover foreground
#050b0fblack
#fcfcfdwhite
Primary
#1569b2steelblue
#1569b2steelblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#b21569mediumvioletred
#b21569mediumvioletred
Secondary foreground
#fefafdsnow
#fefafdsnow
Muted
#f2e3eblinen
#1c0d15black
Muted foreground
#50444adarkslategray
#bbafb5silver
Accent
#69b215olivedrab
#69b215olivedrab
Accent foreground
#000000black
#000000black
Destructive
#811704maroon
#f83816orangered
Destructive foreground
#fdc4balightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#1569b2steelblue
#1569b2steelblue

Contrast

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

Light mode
Text on background19.78:1AAA
Text on card19.78:1AAA
Primary button5.70:1AA
Secondary button6.34:1AA
Muted text7.48:1AAA
Accent7.97:1AAA
Destructive6.72:1AA
Dark mode
Text on background19.89:1AAA
Text on card19.89:1AAA
Primary button5.70:1AA
Secondary button6.34:1AA
Muted text8.87:1AAA
Accent7.97:1AAA
Destructive3.77:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.143 0.015 241.069);
  --muted: oklch(0.93 0.02 343.977);
  --muted-foreground: oklch(0.401 0.019 344.591);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.143 0.015 241.069);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.143 0.015 241.069);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.512 0.138 250.805);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.505 0.196 355.792);
  --secondary-foreground: oklch(0.99 0.005 343.574);
  --accent: oklch(0.689 0.189 133.168);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.391 0.143 32.183);
  --destructive-foreground: oklch(0.868 0.067 29.946);
  --ring: oklch(0.512 0.138 250.805);
  --chart-1: oklch(0.512 0.138 250.805);
  --chart-2: oklch(0.505 0.196 355.792);
  --chart-3: oklch(0.689 0.189 133.168);
  --chart-4: oklch(0.533 0.207 355.914);
  --chart-5: oklch(0.514 0.142 251.217);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.113 0.011 236.804);
  --foreground: oklch(0.992 0.001 244.099);
  --muted: oklch(0.184 0.03 347.27);
  --muted-foreground: oklch(0.766 0.016 343.962);
  --popover: oklch(0.113 0.011 236.804);
  --popover-foreground: oklch(0.992 0.001 244.099);
  --card: oklch(0.113 0.011 236.804);
  --card-foreground: oklch(0.992 0.001 244.099);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.512 0.138 250.805);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.505 0.196 355.792);
  --secondary-foreground: oklch(0.99 0.005 343.574);
  --accent: oklch(0.689 0.189 133.168);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.638 0.23 32.039);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.512 0.138 250.805);
  --chart-1: oklch(0.512 0.138 250.805);
  --chart-2: oklch(0.505 0.196 355.792);
  --chart-3: oklch(0.689 0.189 133.168);
  --chart-4: oklch(0.533 0.207 355.914);
  --chart-5: oklch(0.514 0.142 251.217);
}