Warren for shadcn/ui

Warren is a shadcn/ui theme built around a vivid light orange primary color (#fee6c8) with vivid light blue accents (#c8e0fe). The light mode uses a neutral background (#fefdfb). Dark mode keeps the vivid light orange primary (#fee6c8) on an orange-tinted background (#0b0804).

Color palette

TokenLightDark
Background
#fefdfbsnow
#0b0804black
Foreground
#0f0b05black
#fdfcfcsnow
Card
#fefdfbsnow
#0b0804black
Card foreground
#0f0b05black
#fdfcfcsnow
Popover
#fefdfbsnow
#0b0804black
Popover foreground
#0f0b05black
#fdfcfcsnow
Primary
#fee6c8bisque
#fee6c8bisque
Primary foreground
#2d1901black
#2d1901black
Secondary
#c8e0felavender
#c8e0felavender
Secondary foreground
#044390midnightblue
#044390midnightblue
Muted
#e3e8edlavender
#12161cblack
Muted foreground
#484c51darkslategray
#aeb2b7darkgray
Accent
#c8e0felavender
#c8e0felavender
Accent foreground
#044390midnightblue
#044390midnightblue
Destructive
#e04300orangered
#ff540aorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#fee6c8bisque
#fee6c8bisque

Contrast

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

Light mode
Text on background19.24:1AAA
Text on card19.24:1AAA
Primary button13.83:1AAA
Secondary button7.04:1AAA
Muted text6.99:1AA
Accent7.04:1AAA
Destructive4.20:1AA Large
Dark mode
Text on background19.50:1AAA
Text on card19.50:1AAA
Primary button13.83:1AAA
Secondary button7.04:1AAA
Muted text8.48:1AAA
Accent7.04:1AAA
Destructive3.22:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.002 73.201);
  --foreground: oklch(0.152 0.015 76.168);
  --muted: oklch(0.928 0.009 253.281);
  --muted-foreground: oklch(0.415 0.01 253.372);
  --popover: oklch(0.993 0.002 73.201);
  --popover-foreground: oklch(0.152 0.015 76.168);
  --card: oklch(0.993 0.002 73.201);
  --card-foreground: oklch(0.152 0.015 76.168);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.936 0.047 72.75);
  --primary-foreground: oklch(0.235 0.049 69.29);
  --secondary: oklch(0.899 0.048 253.525);
  --secondary-foreground: oklch(0.397 0.141 257.577);
  --accent: oklch(0.899 0.048 253.525);
  --accent-foreground: oklch(0.397 0.141 257.577);
  --destructive: oklch(0.607 0.202 37.149);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.936 0.047 72.75);
  --chart-1: oklch(0.936 0.047 72.75);
  --chart-2: oklch(0.899 0.048 253.525);
  --chart-3: oklch(0.899 0.048 253.525);
  --chart-4: oklch(0.927 0.035 253.444);
  --chart-5: oklch(0.936 0.048 72.732);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.137 0.013 79.221);
  --foreground: oklch(0.993 0.001 73.215);
  --muted: oklch(0.2 0.013 253.572);
  --muted-foreground: oklch(0.762 0.009 253.294);
  --popover: oklch(0.137 0.013 79.221);
  --popover-foreground: oklch(0.993 0.001 73.215);
  --card: oklch(0.137 0.013 79.221);
  --card-foreground: oklch(0.993 0.001 73.215);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.936 0.047 72.75);
  --primary-foreground: oklch(0.235 0.049 69.29);
  --secondary: oklch(0.899 0.048 253.525);
  --secondary-foreground: oklch(0.397 0.141 257.577);
  --accent: oklch(0.899 0.048 253.525);
  --accent-foreground: oklch(0.397 0.141 257.577);
  --destructive: oklch(0.675 0.218 37.932);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.936 0.047 72.75);
  --chart-1: oklch(0.936 0.047 72.75);
  --chart-2: oklch(0.899 0.048 253.525);
  --chart-3: oklch(0.899 0.048 253.525);
  --chart-4: oklch(0.927 0.035 253.444);
  --chart-5: oklch(0.936 0.048 72.732);
}