Spokesman for shadcn/ui

Spokesman is a shadcn/ui theme built around a vivid orange primary color (#ad2b00) with vivid yellow accents (#ad8200). The light mode uses a neutral background (#fbf9f8). Dark mode keeps the vivid orange primary (#ad2b00) on a neutral background (#040201).

Color palette

TokenLightDark
Background
#fbf9f8snow
#040201black
Foreground
#040201black
#ffffffwhite
Card
#faf6f5whitesmoke
#070403black
Card foreground
#000000black
#ffffffwhite
Popover
#fbf9f8snow
#040201black
Popover foreground
#040201black
#ffffffwhite
Primary
#ad2b00firebrick
#ad2b00firebrick
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#ad002bfirebrick
#ad002bfirebrick
Secondary foreground
#ffe0e8mistyrose
#ffe0e8mistyrose
Muted
#f4eceelinen
#130b0dblack
Muted foreground
#636363dimgray
#9c9c9cdarkgray
Accent
#ad8200darkgoldenrod
#ad8200darkgoldenrod
Accent foreground
#000000black
#000000black
Destructive
#be1509firebrick
#f64437tomato
Destructive foreground
#fffafasnow
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ad2b00firebrick
#ad2b00firebrick

Contrast

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

Light mode
Text on background19.76:1AAA
Text on card19.57:1AAA
Primary button6.69:1AA
Secondary button6.05:1AA
Muted text5.15:1AA
Accent5.98:1AA
Destructive6.15:1AA
Dark mode
Text on background20.71:1AAA
Text on card20.43:1AAA
Primary button6.69:1AA
Secondary button6.05:1AA
Muted text7.05:1AAA
Accent5.98:1AA
Destructive3.62:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.984 0.003 39.49);
  --foreground: oklch(0.088 0.013 49.119);
  --muted: oklch(0.949 0.009 0.132);
  --muted-foreground: oklch(0.501 0 180);
  --popover: oklch(0.984 0.003 39.49);
  --popover-foreground: oklch(0.088 0.013 49.119);
  --card: oklch(0.976 0.004 39.481);
  --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.494 0.172 35.28);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.474 0.19 19.822);
  --secondary-foreground: oklch(0.935 0.035 0.903);
  --accent: oklch(0.632 0.129 84.962);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.51 0.2 29.758);
  --destructive-foreground: oklch(0.99 0.005 22.267);
  --ring: oklch(0.494 0.172 35.28);
  --chart-1: oklch(0.494 0.172 35.28);
  --chart-2: oklch(0.474 0.19 19.822);
  --chart-3: oklch(0.632 0.129 84.962);
  --chart-4: oklch(0.504 0.203 20.097);
  --chart-5: oklch(0.497 0.176 35.083);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.089 0.009 45.461);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.163 0.014 2.264);
  --muted-foreground: oklch(0.691 0 180);
  --popover: oklch(0.089 0.009 45.461);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.113 0.011 45.461);
  --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.494 0.172 35.28);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.474 0.19 19.822);
  --secondary-foreground: oklch(0.935 0.035 0.903);
  --accent: oklch(0.632 0.129 84.962);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.646 0.216 28.7);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.494 0.172 35.28);
  --chart-1: oklch(0.494 0.172 35.28);
  --chart-2: oklch(0.474 0.19 19.822);
  --chart-3: oklch(0.632 0.129 84.962);
  --chart-4: oklch(0.504 0.203 20.097);
  --chart-5: oklch(0.497 0.176 35.083);
}