Shell for shadcn/ui

Shell is a shadcn/ui theme built around a vivid orange primary color (#fea82f) with vivid blue accents (#2f85fe). The light mode uses a neutral background (#fefdfb). Dark mode keeps the vivid orange primary (#fea82f) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fefdfbsnow
#000000black
Foreground
#080602black
#f9f8f6whitesmoke
Card
#fcfaf8snow
#030303black
Card foreground
#040301black
#fbfaf9snow
Popover
#fefdfbsnow
#000000black
Popover foreground
#080602black
#f9f8f6whitesmoke
Primary
#fea82fgoldenrod
#fea82fgoldenrod
Primary foreground
#000000black
#000000black
Secondary
#2f85fedodgerblue
#2f85fedodgerblue
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#dde2e9gainsboro
#161b22black
Muted foreground
#3d3f43darkslategray
#bcbfc2silver
Accent
#2f85fedodgerblue
#2f85fedodgerblue
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#882101darkred
#fd4912orangered
Destructive foreground
#fecdbdpeachpuff
#ffffffwhite
Border
#f0eeeblinen
#29251fblack
Input
#f0eeeblinen
#29251fblack
Ring
#fea82fgoldenrod
#fea82fgoldenrod

Contrast

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

Light mode
Text on background19.85:1AAA
Text on card19.83:1AAA
Primary button10.83:1AAA
Secondary button3.54:1AA Large
Muted text8.09:1AAA
Accent3.54:1AA Large
Destructive6.47:1AA
Dark mode
Text on background19.78:1AAA
Text on card19.83:1AAA
Primary button10.83:1AAA
Secondary button3.54:1AA Large
Muted text9.36:1AAA
Accent3.54:1AA Large
Destructive3.43:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.002 76.643);
  --foreground: oklch(0.122 0.016 84.92);
  --muted: oklch(0.911 0.011 256.699);
  --muted-foreground: oklch(0.367 0.007 256.723);
  --popover: oklch(0.993 0.002 76.643);
  --popover-foreground: oklch(0.122 0.016 84.92);
  --card: oklch(0.987 0.004 76.634);
  --card-foreground: oklch(0.097 0.013 84.92);
  --border: oklch(0.949 0.005 76.63);
  --input: oklch(0.949 0.005 76.63);
  --primary: oklch(0.798 0.16 69.389);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.632 0.198 257.997);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.632 0.198 257.997);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.415 0.143 35.263);
  --destructive-foreground: oklch(0.886 0.061 37.592);
  --ring: oklch(0.798 0.16 69.389);
  --chart-1: oklch(0.798 0.16 69.389);
  --chart-2: oklch(0.632 0.198 257.997);
  --chart-3: oklch(0.632 0.198 257.997);
  --chart-4: oklch(0.655 0.184 257.59);
  --chart-5: oklch(0.802 0.163 68.948);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.978 0.002 76.641);
  --muted: oklch(0.22 0.016 256.818);
  --muted-foreground: oklch(0.803 0.006 256.682);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.978 0.002 76.641);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.986 0.002 76.644);
  --border: oklch(0.265 0.012 76.346);
  --input: oklch(0.265 0.012 76.346);
  --primary: oklch(0.798 0.16 69.389);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.632 0.198 257.997);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.632 0.198 257.997);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.66 0.224 35.153);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.798 0.16 69.389);
  --chart-1: oklch(0.798 0.16 69.389);
  --chart-2: oklch(0.632 0.198 257.997);
  --chart-3: oklch(0.632 0.198 257.997);
  --chart-4: oklch(0.655 0.184 257.59);
  --chart-5: oklch(0.802 0.163 68.948);
}