Skeletal for shadcn/ui

Skeletal is a shadcn/ui theme built around a vivid light green primary color (#dffce6) with vivid light orange accents (#fce6df). The light mode uses a neutral background (#f6fdf8). Dark mode keeps the vivid light green primary (#dffce6) on a green-tinted background (#051008).

Color palette

TokenLightDark
Background
#f6fdf8mintcream
#051008black
Foreground
#010402black
#f9fbf9mintcream
Card
#f6fdf8mintcream
#051008black
Card foreground
#010402black
#f9fbf9mintcream
Popover
#f6fdf8mintcream
#051008black
Popover foreground
#010402black
#f9fbf9mintcream
Primary
#dffce6honeydew
#dffce6honeydew
Primary foreground
#063c14darkgreen
#063c14darkgreen
Secondary
#e6dffclavender
#e6dffclavender
Secondary foreground
#320f99indigo
#320f99indigo
Muted
#ded9edgainsboro
#171226black
Muted foreground
#504a64darkslategray
#a29bb5darkgray
Accent
#fce6dfmistyrose
#fce6dfmistyrose
Accent foreground
#99320fsaddlebrown
#99320fsaddlebrown
Destructive
#821408maroon
#f1250eorangered
Destructive foreground
#fbc6c0pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#dffce6honeydew
#dffce6honeydew

Contrast

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

Light mode
Text on background19.99:1AAA
Text on card19.99:1AAA
Primary button11.51:1AAA
Secondary button9.77:1AAA
Muted text6.09:1AA
Accent6.20:1AA
Destructive6.78:1AA
Dark mode
Text on background18.68:1AAA
Text on card18.68:1AAA
Primary button11.51:1AAA
Secondary button9.77:1AAA
Muted text6.84:1AA
Accent6.20:1AA
Destructive4.19:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.01 153.708);
  --foreground: oklch(0.099 0.02 153.022);
  --muted: oklch(0.895 0.027 297.286);
  --muted-foreground: oklch(0.425 0.043 295.973);
  --popover: oklch(0.988 0.01 153.708);
  --popover-foreground: oklch(0.099 0.02 153.022);
  --card: oklch(0.988 0.01 153.708);
  --card-foreground: oklch(0.099 0.02 153.022);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.963 0.042 153.111);
  --primary-foreground: oklch(0.313 0.087 147.011);
  --secondary: oklch(0.917 0.04 297.043);
  --secondary-foreground: oklch(0.345 0.195 280.261);
  --accent: oklch(0.94 0.026 39.358);
  --accent-foreground: oklch(0.465 0.145 37.044);
  --destructive: oklch(0.392 0.146 30.56);
  --destructive-foreground: oklch(0.873 0.062 25.721);
  --ring: oklch(0.963 0.042 153.111);
  --chart-1: oklch(0.963 0.042 153.111);
  --chart-2: oklch(0.917 0.04 297.043);
  --chart-3: oklch(0.94 0.026 39.358);
  --chart-4: oklch(0.953 0.023 297.401);
  --chart-5: oklch(0.964 0.044 153.083);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.157 0.024 152.419);
  --foreground: oklch(0.986 0.003 153.834);
  --muted: oklch(0.2 0.039 294.103);
  --muted-foreground: oklch(0.705 0.038 296.856);
  --popover: oklch(0.157 0.024 152.419);
  --popover-foreground: oklch(0.986 0.003 153.834);
  --card: oklch(0.157 0.024 152.419);
  --card-foreground: oklch(0.986 0.003 153.834);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.963 0.042 153.111);
  --primary-foreground: oklch(0.313 0.087 147.011);
  --secondary: oklch(0.917 0.04 297.043);
  --secondary-foreground: oklch(0.345 0.195 280.261);
  --accent: oklch(0.94 0.026 39.358);
  --accent-foreground: oklch(0.465 0.145 37.044);
  --destructive: oklch(0.613 0.236 30.439);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.963 0.042 153.111);
  --chart-1: oklch(0.963 0.042 153.111);
  --chart-2: oklch(0.917 0.04 297.043);
  --chart-3: oklch(0.94 0.026 39.358);
  --chart-4: oklch(0.953 0.023 297.401);
  --chart-5: oklch(0.964 0.044 153.083);
}