Windy for shadcn/ui

Windy is a shadcn/ui theme built around a vivid orange primary color (#f69055) with vivid violet accents (#9055f6). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid orange primary (#f69055) on a neutral background (#040201).

Color palette

TokenLightDark
Background
#ffffffwhite
#040201black
Foreground
#160a04black
#ffffffwhite
Card
#fcfcfcsnow
#080403black
Card foreground
#110803black
#ffffffwhite
Popover
#fcfcfcsnow
#080403black
Popover foreground
#110803black
#ffffffwhite
Primary
#f69055coral
#f69055coral
Primary foreground
#180a01black
#180a01black
Secondary
#55f690mediumaquamarine
#55f690mediumaquamarine
Secondary foreground
#01180ablack
#01180ablack
Muted
#d5ecddgainsboro
#132a1cblack
Muted foreground
#3a4b40darkslategray
#b4c5basilver
Accent
#9055f6mediumslateblue
#9055f6mediumslateblue
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#861e04darkred
#f84012orangered
Destructive foreground
#fdcbbfpeachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f69055coral
#f69055coral

Contrast

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

Light mode
Text on background19.45:1AAA
Text on card19.38:1AAA
Primary button8.37:1AAA
Secondary button13.18:1AAA
Muted text7.45:1AAA
Accent4.34:1AA Large
Destructive6.59:1AA
Dark mode
Text on background20.68:1AAA
Text on card20.38:1AAA
Primary button8.37:1AAA
Secondary button13.18:1AAA
Muted text8.46:1AAA
Accent4.34:1AA Large
Destructive3.67:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.161 0.026 56.182);
  --muted: oklch(0.922 0.031 157.979);
  --muted-foreground: oklch(0.394 0.029 157.042);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.147 0.022 59.635);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.147 0.022 59.635);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.751 0.144 49.322);
  --primary-foreground: oklch(0.163 0.034 59.002);
  --secondary: oklch(0.866 0.194 151.913);
  --secondary-foreground: oklch(0.186 0.043 154.544);
  --accent: oklch(0.602 0.228 295.599);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.407 0.143 33.967);
  --destructive-foreground: oklch(0.883 0.06 34.385);
  --ring: oklch(0.751 0.144 49.322);
  --chart-1: oklch(0.751 0.144 49.322);
  --chart-2: oklch(0.866 0.194 151.913);
  --chart-3: oklch(0.602 0.228 295.599);
  --chart-4: oklch(0.874 0.181 152.695);
  --chart-5: oklch(0.753 0.148 49.141);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.092 0.009 59.927);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.261 0.04 154.761);
  --muted-foreground: oklch(0.808 0.024 158.057);
  --popover: oklch(0.115 0.011 59.927);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.115 0.011 59.927);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.751 0.144 49.322);
  --primary-foreground: oklch(0.163 0.034 59.002);
  --secondary: oklch(0.866 0.194 151.913);
  --secondary-foreground: oklch(0.186 0.043 154.544);
  --accent: oklch(0.602 0.228 295.599);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.643 0.226 33.71);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.751 0.144 49.322);
  --chart-1: oklch(0.751 0.144 49.322);
  --chart-2: oklch(0.866 0.194 151.913);
  --chart-3: oklch(0.602 0.228 295.599);
  --chart-4: oklch(0.874 0.181 152.695);
  --chart-5: oklch(0.753 0.148 49.141);
}