WIP for shadcn/ui

WIP is a shadcn/ui theme built around a vivid orange primary color (#f66b15) with vivid light orange accents (#ffdea8). The light mode uses a neutral background (#f9f9f9). Dark mode keeps the vivid orange primary (#f66b15) on a neutral background (#111111).

Color palette

TokenLightDark
Background
#f9f9f9ghostwhite
#111111black
Foreground
#202020black
#eeeeeewhitesmoke
Card
#fcfcfcsnow
#191919black
Card foreground
#202020black
#eeeeeewhitesmoke
Popover
#fcfcfcsnow
#191919black
Popover foreground
#202020black
#eeeeeewhitesmoke
Primary
#f66b15chocolate
#f66b15chocolate
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#efefefwhitesmoke
#331e0bblack
Secondary foreground
#202020black
#ffe0c2bisque
Muted
#efefefwhitesmoke
#1d202bblack
Muted foreground
#646464dimgray
#adadaedarkgray
Accent
#ffdea8navajowhite
#535455dimgray
Accent foreground
#582d1dsaddlebrown
#edededwhitesmoke
Destructive
#e54d2echocolate
#e54d2echocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#d8d8d8gainsboro
#201e18black
Input
#f0f0f0whitesmoke
#201e18black
Ring
#ec9456sandybrown
#555553dimgray

Contrast

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

Light mode
Text on background15.47:1AAA
Text on card15.87:1AAA
Primary button2.98:1Fail
Secondary button14.17:1AAA
Muted text5.14:1AA
Accent8.99:1AAA
Destructive3.86:1AA Large
Dark mode
Text on background16.27:1AAA
Text on card15.15:1AAA
Primary button2.98:1Fail
Secondary button12.53:1AAA
Muted text7.22:1AAA
Accent6.49:1AA
Destructive3.86:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0 161.565);
  --foreground: oklch(0.244 0 169.695);
  --muted: oklch(0.952 0 165.964);
  --muted-foreground: oklch(0.503 0 180);
  --popover: oklch(0.991 0 180);
  --popover-foreground: oklch(0.244 0 169.695);
  --card: oklch(0.991 0 180);
  --card-foreground: oklch(0.244 0 169.695);
  --border: oklch(0.882 0 180);
  --input: oklch(0.955 0 180);
  --primary: oklch(0.689 0.19 45.166);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.952 0 165.964);
  --secondary-foreground: oklch(0.244 0 169.695);
  --accent: oklch(0.915 0.078 79.754);
  --accent-foreground: oklch(0.35 0.069 40.827);
  --destructive: oklch(0.627 0.194 33.336);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.745 0.132 54.33);
  --chart-1: oklch(0.689 0.19 45.166);
  --chart-2: oklch(0.952 0 165.964);
  --chart-3: oklch(0.915 0.078 79.754);
  --chart-4: oklch(0.975 0 180);
  --chart-5: oklch(0.693 0.195 44.608);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.178 0 180);
  --foreground: oklch(0.949 0 180);
  --muted: oklch(0.246 0.021 269.234);
  --muted-foreground: oklch(0.748 0.002 270.101);
  --popover: oklch(0.213 0 168.69);
  --popover-foreground: oklch(0.949 0 180);
  --card: oklch(0.213 0 168.69);
  --card-foreground: oklch(0.949 0 180);
  --border: oklch(0.235 0.011 90.394);
  --input: oklch(0.235 0.011 90.394);
  --primary: oklch(0.689 0.19 45.166);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.258 0.045 60.789);
  --secondary-foreground: oklch(0.925 0.052 66.177);
  --accent: oklch(0.445 0.002 270.082);
  --accent-foreground: oklch(0.946 0 270.117);
  --destructive: oklch(0.627 0.194 33.336);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.448 0.002 90.156);
  --chart-1: oklch(0.689 0.19 45.166);
  --chart-2: oklch(0.258 0.045 60.789);
  --chart-3: oklch(0.445 0.002 270.082);
  --chart-4: oklch(0.294 0.053 60.297);
  --chart-5: oklch(0.693 0.195 44.608);
}