Actor for shadcn/ui

Actor is a shadcn/ui theme built around an orange primary color (#eaac8b) with muted light orange accents (#d7c9c1). The light mode uses a neutral background (#ffffff). Dark mode keeps the orange primary (#eaac8b) on an orange-tinted background (#0a0705).

Color palette

TokenLightDark
Background
#ffffffwhite
#0a0705black
Foreground
#080403black
#ffffffwhite
Card
#ffffffwhite
#0a0705black
Card foreground
#080403black
#ffffffwhite
Popover
#ffffffwhite
#0a0705black
Popover foreground
#080403black
#ffffffwhite
Primary
#eaac8bburlywood
#eaac8bburlywood
Primary foreground
#381a0ablack
#381a0ablack
Secondary
#e1dddagainsboro
#181311black
Secondary foreground
#4c433ddarkslategray
#bda99edarkgray
Muted
#e2dddagainsboro
#25201dblack
Muted foreground
#544740darkolivegreen
#bfb2abdarkgray
Accent
#d7c9c1lightgrey
#2a1e18black
Accent foreground
#3e3028darkslategray
#cdb4a7tan
Destructive
#701b0amaroon
#e03715orangered
Destructive foreground
#f8c0b4lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#eaac8bburlywood
#eaac8bburlywood

Contrast

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

Light mode
Text on background20.40:1AAA
Text on card20.40:1AAA
Primary button8.14:1AAA
Secondary button7.14:1AAA
Muted text6.60:1AA
Accent7.83:1AAA
Destructive7.11:1AAA
Dark mode
Text on background20.08:1AAA
Text on card20.08:1AAA
Primary button8.14:1AAA
Secondary button8.17:1AAA
Muted text7.80:1AAA
Accent8.19:1AAA
Destructive4.44:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.115 0.011 57.939);
  --muted: oklch(0.9 0.007 50.553);
  --muted-foreground: oklch(0.409 0.022 50.018);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.115 0.011 57.939);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.115 0.011 57.939);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.794 0.086 49.376);
  --primary-foreground: oklch(0.258 0.054 47.265);
  --secondary: oklch(0.9 0.006 50.569);
  --secondary-foreground: oklch(0.39 0.016 50.155);
  --accent: oklch(0.845 0.019 50.38);
  --accent-foreground: oklch(0.322 0.024 49.775);
  --destructive: oklch(0.363 0.121 33.038);
  --destructive-foreground: oklch(0.854 0.067 31.409);
  --ring: oklch(0.794 0.086 49.376);
  --chart-1: oklch(0.794 0.086 49.376);
  --chart-2: oklch(0.9 0.006 50.569);
  --chart-3: oklch(0.845 0.019 50.38);
  --chart-4: oklch(0.923 0.005 50.592);
  --chart-5: oklch(0.795 0.09 49.314);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.132 0.008 54.789);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.248 0.01 50.155);
  --muted-foreground: oklch(0.773 0.019 50.359);
  --popover: oklch(0.132 0.008 54.789);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.132 0.008 54.789);
  --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.794 0.086 49.376);
  --primary-foreground: oklch(0.258 0.054 47.265);
  --secondary: oklch(0.193 0.01 50.045);
  --secondary-foreground: oklch(0.748 0.028 50.2);
  --accent: oklch(0.249 0.022 49.604);
  --accent-foreground: oklch(0.789 0.035 50.129);
  --destructive: oklch(0.595 0.21 32.704);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.794 0.086 49.376);
  --chart-1: oklch(0.794 0.086 49.376);
  --chart-2: oklch(0.193 0.01 50.045);
  --chart-3: oklch(0.249 0.022 49.604);
  --chart-4: oklch(0.227 0.013 49.972);
  --chart-5: oklch(0.795 0.09 49.314);
}