Storyboard for shadcn/ui

Storyboard is a shadcn/ui theme built around a near-white primary color (#ffffff) with near-white accents (#ffffff). The light mode uses a neutral background (#ffffff). Dark mode keeps the near-white primary (#ffffff) on a red-tinted background (#0c0404).

Color palette

TokenLightDark
Background
#ffffffwhite
#0c0404black
Foreground
#000000black
#fdfcfcsnow
Card
#ffffffwhite
#0c0404black
Card foreground
#000000black
#fdfcfcsnow
Popover
#ffffffwhite
#0c0404black
Popover foreground
#000000black
#fdfcfcsnow
Primary
#ffffffwhite
#ffffffwhite
Primary foreground
#333333darkslategray
#333333darkslategray
Secondary
#ffffffwhite
#ffffffwhite
Secondary foreground
#333333darkslategray
#333333darkslategray
Muted
#ddd9d9gainsboro
#262222black
Muted foreground
#5f5858dimgray
#a7a0a0darkgray
Accent
#ffffffwhite
#ffffffwhite
Accent foreground
#333333darkslategray
#333333darkslategray
Destructive
#601406maroon
#f14627orangered
Destructive foreground
#f9ad9flightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ffffffwhite
#ffffffwhite

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button12.63:1AAA
Secondary button12.63:1AAA
Muted text4.97:1AA
Accent12.63:1AAA
Destructive7.20:1AAA
Dark mode
Text on background19.86:1AAA
Text on card19.86:1AAA
Primary button12.63:1AAA
Secondary button12.63:1AAA
Muted text6.15:1AA
Accent12.63:1AAA
Destructive3.72:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.889 0.005 17.245);
  --muted-foreground: oklch(0.468 0.01 17.5);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(1 0 180);
  --primary-foreground: oklch(0.321 0 180);
  --secondary: oklch(1 0 180);
  --secondary-foreground: oklch(0.321 0 180);
  --accent: oklch(1 0 180);
  --accent-foreground: oklch(0.321 0 180);
  --destructive: oklch(0.323 0.111 32.479);
  --destructive-foreground: oklch(0.816 0.092 30.292);
  --ring: oklch(1 0 180);
  --chart-1: oklch(1 0 180);
  --chart-2: oklch(1 0 180);
  --chart-3: oklch(1 0 180);
  --chart-4: oklch(1.023 0 180);
  --chart-5: oklch(1 0 180);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.12 0.019 20.328);
  --foreground: oklch(0.992 0.001 17.178);
  --muted: oklch(0.255 0.007 17.587);
  --muted-foreground: oklch(0.71 0.009 17.358);
  --popover: oklch(0.12 0.019 20.328);
  --popover-foreground: oklch(0.992 0.001 17.178);
  --card: oklch(0.12 0.019 20.328);
  --card-foreground: oklch(0.992 0.001 17.178);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(1 0 180);
  --primary-foreground: oklch(0.321 0 180);
  --secondary: oklch(1 0 180);
  --secondary-foreground: oklch(0.321 0 180);
  --accent: oklch(1 0 180);
  --accent-foreground: oklch(0.321 0 180);
  --destructive: oklch(0.639 0.213 32.359);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(1 0 180);
  --chart-1: oklch(1 0 180);
  --chart-2: oklch(1 0 180);
  --chart-3: oklch(1 0 180);
  --chart-4: oklch(1.023 0 180);
  --chart-5: oklch(1 0 180);
}