Wingtip for shadcn/ui

Wingtip is a shadcn/ui theme built around a green primary color (#63961d) with pink accents (#961d63). The light mode uses a neutral background (#fdfefb). Dark mode keeps the green primary (#63961d) on a green-tinted background (#0b0e06).

Color palette

TokenLightDark
Background
#fdfefbwhite
#0b0e06black
Foreground
#0e1306black
#fafbf9snow
Card
#fafcf8snow
#0e1108black
Card foreground
#0b0f05black
#fdfdfcwhite
Popover
#fafcf8snow
#0e1108black
Popover foreground
#0b0f05black
#fdfdfcwhite
Primary
#63961dolivedrab
#63961dolivedrab
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#1d6396teal
#1d6396teal
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#d5d9dcgainsboro
#23272adarkslategray
Muted foreground
#58626adimgray
#95a0a7darkgray
Accent
#961d63purple
#961d63purple
Accent foreground
#fbeaf4lavenderblush
#fbeaf4lavenderblush
Destructive
#b1110bfirebrick
#f02019crimson
Destructive foreground
#fef1f1lavenderblush
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#63961dolivedrab
#63961dolivedrab

Contrast

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

Light mode
Text on background18.55:1AAA
Text on card18.77:1AAA
Primary button3.55:1AA Large
Secondary button6.38:1AA
Muted text4.40:1AA Large
Accent6.86:1AA
Destructive6.43:1AA
Dark mode
Text on background18.74:1AAA
Text on card18.67:1AAA
Primary button3.55:1AA Large
Secondary button6.38:1AA
Muted text5.65:1AA
Accent6.86:1AA
Destructive4.25:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 125.088);
  --foreground: oklch(0.177 0.027 126.818);
  --muted: oklch(0.884 0.006 238.457);
  --muted-foreground: oklch(0.491 0.017 238.875);
  --popover: oklch(0.989 0.006 125.132);
  --popover-foreground: oklch(0.161 0.023 125.855);
  --card: oklch(0.989 0.006 125.132);
  --card-foreground: oklch(0.161 0.023 125.855);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.614 0.155 130.472);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.484 0.106 244.704);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.458 0.168 350.546);
  --accent-foreground: oklch(0.952 0.023 341.566);
  --destructive: oklch(0.484 0.19 29.101);
  --destructive-foreground: oklch(0.968 0.014 19.812);
  --ring: oklch(0.614 0.155 130.472);
  --chart-1: oklch(0.614 0.155 130.472);
  --chart-2: oklch(0.484 0.106 244.704);
  --chart-3: oklch(0.458 0.168 350.546);
  --chart-4: oklch(0.512 0.113 244.809);
  --chart-5: oklch(0.621 0.159 130.708);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.157 0.017 125.695);
  --foreground: oklch(0.987 0.003 125.083);
  --muted: oklch(0.269 0.008 238.789);
  --muted-foreground: oklch(0.698 0.016 238.688);
  --popover: oklch(0.172 0.02 126.55);
  --popover-foreground: oklch(0.993 0.001 125.064);
  --card: oklch(0.172 0.02 126.55);
  --card-foreground: oklch(0.993 0.001 125.064);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.614 0.155 130.472);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.484 0.106 244.704);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.458 0.168 350.546);
  --accent-foreground: oklch(0.952 0.023 341.566);
  --destructive: oklch(0.61 0.237 28.947);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.614 0.155 130.472);
  --chart-1: oklch(0.614 0.155 130.472);
  --chart-2: oklch(0.484 0.106 244.704);
  --chart-3: oklch(0.458 0.168 350.546);
  --chart-4: oklch(0.512 0.113 244.809);
  --chart-5: oklch(0.621 0.159 130.708);
}