Strobe for shadcn/ui

Strobe is a shadcn/ui theme built around a deep teal primary color (#1a6b45) with deep orange accents (#6b451a). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep teal primary (#1a6b45) on a teal-tinted background (#070d0a).

Color palette

TokenLightDark
Background
#ffffffwhite
#070d0ablack
Foreground
#010403black
#f5faf8mintcream
Card
#ffffffwhite
#070d0ablack
Card foreground
#010403black
#f5faf8mintcream
Popover
#ffffffwhite
#070d0ablack
Popover foreground
#010403black
#f5faf8mintcream
Primary
#1a6b45darkslategray
#1a6b45darkslategray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#451a6bindigo
#451a6bindigo
Secondary foreground
#ddc6f1thistle
#ddc6f1thistle
Muted
#ebe9eclavender
#151316black
Muted foreground
#554861dimgray
#ac9eb7darkgray
Accent
#6b451asaddlebrown
#6b451asaddlebrown
Accent foreground
#f1ddc6bisque
#f1ddc6bisque
Destructive
#be230efirebrick
#ee3820orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#1a6b45darkslategray
#1a6b45darkslategray

Contrast

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

Light mode
Text on background20.58:1AAA
Text on card20.58:1AAA
Primary button6.51:1AA
Secondary button8.33:1AAA
Muted text6.98:1AA
Accent6.39:1AA
Destructive6.12:1AA
Dark mode
Text on background18.56:1AAA
Text on card18.56:1AAA
Primary button6.51:1AA
Secondary button8.33:1AAA
Muted text7.35:1AAA
Accent6.39:1AA
Destructive4.01:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.099 0.015 167.141);
  --muted: oklch(0.936 0.005 309.728);
  --muted-foreground: oklch(0.423 0.044 308.744);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.099 0.015 167.141);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.099 0.015 167.141);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.469 0.098 158.153);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.329 0.133 304.252);
  --secondary-foreground: oklch(0.858 0.064 309.043);
  --accent: oklch(0.425 0.077 66.29);
  --accent-foreground: oklch(0.907 0.038 71.025);
  --destructive: oklch(0.518 0.192 30.975);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.469 0.098 158.153);
  --chart-1: oklch(0.469 0.098 158.153);
  --chart-2: oklch(0.329 0.133 304.252);
  --chart-3: oklch(0.425 0.077 66.29);
  --chart-4: oklch(0.353 0.145 304.102);
  --chart-5: oklch(0.474 0.101 157.754);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.152 0.012 165.657);
  --foreground: oklch(0.98 0.006 166.73);
  --muted: oklch(0.189 0.008 309.369);
  --muted-foreground: oklch(0.72 0.039 309.249);
  --popover: oklch(0.152 0.012 165.657);
  --popover-foreground: oklch(0.98 0.006 166.73);
  --card: oklch(0.152 0.012 165.657);
  --card-foreground: oklch(0.98 0.006 166.73);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.469 0.098 158.153);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.329 0.133 304.252);
  --secondary-foreground: oklch(0.858 0.064 309.043);
  --accent: oklch(0.425 0.077 66.29);
  --accent-foreground: oklch(0.907 0.038 71.025);
  --destructive: oklch(0.622 0.221 31.041);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.469 0.098 158.153);
  --chart-1: oklch(0.469 0.098 158.153);
  --chart-2: oklch(0.329 0.133 304.252);
  --chart-3: oklch(0.425 0.077 66.29);
  --chart-4: oklch(0.353 0.145 304.102);
  --chart-5: oklch(0.474 0.101 157.754);
}