Stimulating for shadcn/ui

Stimulating is a shadcn/ui theme built around a light red primary color (#eecfce) with neutral gray accents (#e2dfdf). The light mode uses a neutral background (#ffffff). Dark mode keeps the light red primary (#eecfce) on a red-tinted background (#0f0605).

Color palette

TokenLightDark
Background
#ffffffwhite
#0f0605black
Foreground
#0d0202black
#ffffffwhite
Card
#ffffffwhite
#0f0605black
Card foreground
#0d0202black
#ffffffwhite
Popover
#ffffffwhite
#0f0605black
Popover foreground
#0d0202black
#ffffffwhite
Primary
#eecfcepink
#eecfcepink
Primary foreground
#672523saddlebrown
#672523saddlebrown
Secondary
#e2dfdfgainsboro
#312626darkslategray
Secondary foreground
#4c4343darkslategray
#ccbdbdsilver
Muted
#f4e7e6linen
#190b0bblack
Muted foreground
#695554dimgray
#ab9796rosybrown
Accent
#e2dfdfgainsboro
#312626darkslategray
Accent foreground
#4c4343darkslategray
#ccbdbdsilver
Destructive
#aa100efirebrick
#ec1b18crimson
Destructive foreground
#fdececlinen
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#eecfcepink
#eecfcepink

Contrast

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

Light mode
Text on background20.45:1AAA
Text on card20.45:1AAA
Primary button7.72:1AAA
Secondary button7.22:1AAA
Muted text5.74:1AA
Accent7.22:1AAA
Destructive6.59:1AA
Dark mode
Text on background20.04:1AAA
Text on card20.04:1AAA
Primary button7.72:1AAA
Secondary button8.06:1AAA
Muted text6.93:1AA
Accent8.06:1AAA
Destructive4.42:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.116 0.028 25.987);
  --muted: oklch(0.937 0.015 19.828);
  --muted-foreground: oklch(0.468 0.027 20.47);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.116 0.028 25.987);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.116 0.028 25.987);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.88 0.035 20.2);
  --primary-foreground: oklch(0.362 0.095 24.944);
  --secondary: oklch(0.905 0.004 19.665);
  --secondary-foreground: oklch(0.393 0.011 20.024);
  --accent: oklch(0.905 0.004 19.665);
  --accent-foreground: oklch(0.393 0.011 20.024);
  --destructive: oklch(0.469 0.184 28.667);
  --destructive-foreground: oklch(0.958 0.019 18.663);
  --ring: oklch(0.88 0.035 20.2);
  --chart-1: oklch(0.88 0.035 20.2);
  --chart-2: oklch(0.905 0.004 19.665);
  --chart-3: oklch(0.905 0.004 19.665);
  --chart-4: oklch(0.929 0.003 19.649);
  --chart-5: oklch(0.878 0.038 20.241);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.136 0.019 22.619);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.171 0.024 21.978);
  --muted-foreground: oklch(0.694 0.024 20.11);
  --popover: oklch(0.136 0.019 22.619);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.136 0.019 22.619);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.88 0.035 20.2);
  --primary-foreground: oklch(0.362 0.095 24.944);
  --secondary: oklch(0.281 0.016 20.496);
  --secondary-foreground: oklch(0.811 0.017 19.901);
  --accent: oklch(0.281 0.016 20.496);
  --accent-foreground: oklch(0.811 0.017 19.901);
  --destructive: oklch(0.601 0.235 28.665);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.88 0.035 20.2);
  --chart-1: oklch(0.88 0.035 20.2);
  --chart-2: oklch(0.281 0.016 20.496);
  --chart-3: oklch(0.281 0.016 20.496);
  --chart-4: oklch(0.311 0.019 20.536);
  --chart-5: oklch(0.878 0.038 20.241);
}