Stimulating for shadcn/ui

Stimulating is a shadcn/ui theme built around a near-black primary color (#0e0b01) with near-black accents (#01050e). The light mode uses a neutral background (#fefdfb). Dark mode keeps the near-black primary (#0e0b01) on a yellow-tinted background (#0a0905).

Color palette

TokenLightDark
Background
#fefdfbsnow
#0a0905black
Foreground
#000000black
#fdfdfcwhite
Card
#fefdfbsnow
#0a0905black
Card foreground
#000000black
#fdfdfcwhite
Popover
#fefdfbsnow
#0a0905black
Popover foreground
#000000black
#fdfdfcwhite
Primary
#0e0b01black
#0e0b01black
Primary foreground
#cd970egoldenrod
#cd970egoldenrod
Secondary
#01050eblack
#01050eblack
Secondary foreground
#aec3f9lightsteelblue
#aec3f9lightsteelblue
Muted
#dfe3eclavender
#131720black
Muted foreground
#4c4e52darkslategray
#adafb3darkgray
Accent
#01050eblack
#01050eblack
Accent foreground
#aec3f9lightsteelblue
#aec3f9lightsteelblue
Destructive
#a22d10brown
#da3d16orangered
Destructive foreground
#fdece8linen
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#0e0b01black
#0e0b01black

Contrast

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

Light mode
Text on background20.67:1AAA
Text on card20.67:1AAA
Primary button7.53:1AAA
Secondary button11.64:1AAA
Muted text6.47:1AA
Accent11.64:1AAA
Destructive6.25:1AA
Dark mode
Text on background19.59:1AAA
Text on card19.59:1AAA
Primary button7.53:1AAA
Secondary button11.64:1AAA
Muted text8.17:1AAA
Accent11.64:1AAA
Destructive4.50:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 88.811);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.915 0.013 268.687);
  --muted-foreground: oklch(0.423 0.008 268.653);
  --popover: oklch(0.994 0.003 88.811);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.994 0.003 88.811);
  --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.148 0.027 94.879);
  --primary-foreground: oklch(0.709 0.143 82.343);
  --secondary: oklch(0.113 0.028 255.628);
  --secondary-foreground: oklch(0.821 0.08 267.848);
  --accent: oklch(0.113 0.028 255.628);
  --accent-foreground: oklch(0.821 0.08 267.848);
  --destructive: oklch(0.477 0.158 34.374);
  --destructive-foreground: oklch(0.955 0.019 34.297);
  --ring: oklch(0.148 0.027 94.879);
  --chart-1: oklch(0.148 0.027 94.879);
  --chart-2: oklch(0.113 0.028 255.628);
  --chart-3: oklch(0.113 0.028 255.628);
  --chart-4: oklch(0.147 0.044 260.246);
  --chart-5: oklch(0.149 0.028 95.006);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.138 0.009 91.933);
  --foreground: oklch(0.993 0.001 88.799);
  --muted: oklch(0.204 0.019 267.891);
  --muted-foreground: oklch(0.753 0.007 268.727);
  --popover: oklch(0.138 0.009 91.933);
  --popover-foreground: oklch(0.993 0.001 88.799);
  --card: oklch(0.138 0.009 91.933);
  --card-foreground: oklch(0.993 0.001 88.799);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.148 0.027 94.879);
  --primary-foreground: oklch(0.709 0.143 82.343);
  --secondary: oklch(0.113 0.028 255.628);
  --secondary-foreground: oklch(0.821 0.08 267.848);
  --accent: oklch(0.113 0.028 255.628);
  --accent-foreground: oklch(0.821 0.08 267.848);
  --destructive: oklch(0.591 0.2 34.17);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.148 0.027 94.879);
  --chart-1: oklch(0.148 0.027 94.879);
  --chart-2: oklch(0.113 0.028 255.628);
  --chart-3: oklch(0.113 0.028 255.628);
  --chart-4: oklch(0.147 0.044 260.246);
  --chart-5: oklch(0.149 0.028 95.006);
}