Winged for shadcn/ui

Winged is a shadcn/ui theme built around a green primary color (#cbdda2) with purple accents (#dda2cb). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#cbdda2) on a green-tinted background (#0c0e07).

Color palette

TokenLightDark
Background
#ffffffwhite
#0c0e07black
Foreground
#030401black
#f8faf5whitesmoke
Card
#ffffffwhite
#0c0e07black
Card foreground
#030401black
#f8faf5whitesmoke
Popover
#ffffffwhite
#0c0e07black
Popover foreground
#030401black
#f8faf5whitesmoke
Primary
#cbdda2palegoldenrod
#cbdda2palegoldenrod
Primary foreground
#2d3815darkslategray
#2d3815darkslategray
Secondary
#a2cbddlightsteelblue
#a2cbddlightsteelblue
Secondary foreground
#152d38darkslategray
#152d38darkslategray
Muted
#e2eaeelavender
#11191dblack
Muted foreground
#5c6366dimgray
#99a0a3darkgray
Accent
#dda2cbplum
#dda2cbplum
Accent foreground
#38152ddarkslategray
#38152ddarkslategray
Destructive
#d23d14firebrick
#db3f14orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#cbdda2palegoldenrod
#cbdda2palegoldenrod

Contrast

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

Light mode
Text on background20.55:1AAA
Text on card20.55:1AAA
Primary button8.50:1AAA
Secondary button8.27:1AAA
Muted text5.03:1AA
Accent7.67:1AAA
Destructive4.75:1AA
Dark mode
Text on background18.51:1AAA
Text on card18.51:1AAA
Primary button8.50:1AAA
Secondary button8.27:1AAA
Muted text6.68:1AA
Accent7.67:1AAA
Destructive4.41:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.103 0.017 119.892);
  --muted: oklch(0.933 0.01 225.107);
  --muted-foreground: oklch(0.494 0.01 225.215);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.103 0.017 119.892);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.103 0.017 119.892);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.869 0.08 121.632);
  --primary-foreground: oklch(0.321 0.057 123.497);
  --secondary: oklch(0.818 0.05 225.895);
  --secondary-foreground: oklch(0.284 0.036 227.944);
  --accent: oklch(0.78 0.087 337.856);
  --accent-foreground: oklch(0.258 0.067 340.39);
  --destructive: oklch(0.576 0.192 34.895);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.869 0.08 121.632);
  --chart-1: oklch(0.869 0.08 121.632);
  --chart-2: oklch(0.818 0.05 225.895);
  --chart-3: oklch(0.78 0.087 337.856);
  --chart-4: oklch(0.84 0.044 225.726);
  --chart-5: oklch(0.873 0.085 121.727);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.157 0.016 121.081);
  --foreground: oklch(0.982 0.007 120.155);
  --muted: oklch(0.208 0.014 226.048);
  --muted-foreground: oklch(0.701 0.009 225.128);
  --popover: oklch(0.157 0.016 121.081);
  --popover-foreground: oklch(0.982 0.007 120.155);
  --card: oklch(0.157 0.016 121.081);
  --card-foreground: oklch(0.982 0.007 120.155);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.869 0.08 121.632);
  --primary-foreground: oklch(0.321 0.057 123.497);
  --secondary: oklch(0.818 0.05 225.895);
  --secondary-foreground: oklch(0.284 0.036 227.944);
  --accent: oklch(0.78 0.087 337.856);
  --accent-foreground: oklch(0.258 0.067 340.39);
  --destructive: oklch(0.595 0.199 34.861);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.869 0.08 121.632);
  --chart-1: oklch(0.869 0.08 121.632);
  --chart-2: oklch(0.818 0.05 225.895);
  --chart-3: oklch(0.78 0.087 337.856);
  --chart-4: oklch(0.84 0.044 225.726);
  --chart-5: oklch(0.873 0.085 121.727);
}