Stimulating for shadcn/ui

Stimulating is a shadcn/ui theme built around a neutral gray primary color (#343531) with neutral gray accents (#323531). The light mode uses a neutral background (#fcfcf8). Dark mode keeps the neutral gray primary (#343531) on a green-tinted background (#0d0e07).

Color palette

TokenLightDark
Background
#fcfcf8snow
#0d0e07black
Foreground
#000000black
#fbfcf8snow
Card
#fafbf4floralwhite
#101109black
Card foreground
#000000black
#fdfdfcwhite
Popover
#fcfcf8snow
#0d0e07black
Popover foreground
#000000black
#fbfcf8snow
Primary
#343531darkslategray
#343531darkslategray
Primary foreground
#cdcecalightgrey
#cdcecalightgrey
Secondary
#353431darkslategray
#353431darkslategray
Secondary foreground
#cecdcalightgrey
#cecdcalightgrey
Muted
#f4efe7linen
#18140bblack
Muted foreground
#534e46darkolivegreen
#b9b4acdarkgray
Accent
#323531darkslategray
#323531darkslategray
Accent foreground
#cbcecalightgrey
#cbcecalightgrey
Destructive
#8d1207darkred
#f53524orangered
Destructive foreground
#fccec9pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#343531darkslategray
#343531darkslategray

Contrast

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

Light mode
Text on background20.42:1AAA
Text on card20.14:1AAA
Primary button7.79:1AAA
Secondary button7.86:1AAA
Muted text7.20:1AAA
Accent7.81:1AAA
Destructive6.65:1AA
Dark mode
Text on background18.87:1AAA
Text on card18.66:1AAA
Primary button7.79:1AAA
Secondary button7.86:1AAA
Muted text8.91:1AAA
Accent7.81:1AAA
Destructive3.88:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.006 113.423);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.954 0.012 83.065);
  --muted-foreground: oklch(0.427 0.014 83.048);
  --popover: oklch(0.99 0.006 113.423);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.985 0.009 113.483);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.327 0.007 113.71);
  --primary-foreground: oklch(0.85 0.006 113.429);
  --secondary: oklch(0.324 0.005 83.065);
  --secondary-foreground: oklch(0.847 0.004 83.059);
  --accent: oklch(0.325 0.008 134.358);
  --accent-foreground: oklch(0.848 0.006 134.261);
  --destructive: oklch(0.413 0.158 30.156);
  --destructive-foreground: oklch(0.89 0.054 24.269);
  --ring: oklch(0.327 0.007 113.71);
  --chart-1: oklch(0.327 0.007 113.71);
  --chart-2: oklch(0.324 0.005 83.065);
  --chart-3: oklch(0.325 0.008 134.358);
  --chart-4: oklch(0.354 0.006 83.065);
  --chart-5: oklch(0.332 0.012 113.997);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.158 0.014 114.655);
  --foreground: oklch(0.989 0.005 113.398);
  --muted: oklch(0.193 0.017 82.657);
  --muted-foreground: oklch(0.772 0.012 83.065);
  --popover: oklch(0.158 0.014 114.655);
  --popover-foreground: oklch(0.989 0.005 113.398);
  --card: oklch(0.173 0.017 115.06);
  --card-foreground: oklch(0.994 0.002 113.352);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.327 0.007 113.71);
  --primary-foreground: oklch(0.85 0.006 113.429);
  --secondary: oklch(0.324 0.005 83.065);
  --secondary-foreground: oklch(0.847 0.004 83.059);
  --accent: oklch(0.325 0.008 134.358);
  --accent-foreground: oklch(0.848 0.006 134.261);
  --destructive: oklch(0.631 0.228 29.92);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.327 0.007 113.71);
  --chart-1: oklch(0.327 0.007 113.71);
  --chart-2: oklch(0.324 0.005 83.065);
  --chart-3: oklch(0.325 0.008 134.358);
  --chart-4: oklch(0.354 0.006 83.065);
  --chart-5: oklch(0.332 0.012 113.997);
}