Cyclone for shadcn/ui

Cyclone is a shadcn/ui theme built around a muted pink primary color (#c2b7bd) with muted green accents (#b7c2bc). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted pink primary (#c2b7bd) on a pink-tinted background (#0f050b).

Color palette

TokenLightDark
Background
#ffffffwhite
#0f050bblack
Foreground
#050103black
#ffffffwhite
Card
#ffffffwhite
#0f050bblack
Card foreground
#050103black
#ffffffwhite
Popover
#ffffffwhite
#0f050bblack
Popover foreground
#050103black
#ffffffwhite
Primary
#c2b7bdsilver
#c2b7bdsilver
Primary foreground
#272124black
#272124black
Secondary
#b7c2bcsilver
#b7c2bcsilver
Secondary foreground
#212724darkslategray
#212724darkslategray
Muted
#cbe7d8gainsboro
#183425darkslategray
Muted foreground
#526b5edimgray
#94ada0darkgray
Accent
#b7c2bcsilver
#b7c2bcsilver
Accent foreground
#212724darkslategray
#212724darkslategray
Destructive
#d15315chocolate
#e85d17chocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c2b7bdsilver
#c2b7bdsilver

Contrast

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

Light mode
Text on background20.74:1AAA
Text on card20.74:1AAA
Primary button8.15:1AAA
Secondary button8.30:1AAA
Muted text4.38:1AA Large
Accent8.30:1AAA
Destructive4.22:1AA Large
Dark mode
Text on background20.03:1AAA
Text on card20.03:1AAA
Primary button8.15:1AAA
Secondary button8.30:1AAA
Muted text5.60:1AA
Accent8.30:1AAA
Destructive3.50:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.081 0.024 343.316);
  --muted: oklch(0.902 0.035 162.422);
  --muted-foreground: oklch(0.503 0.036 161.501);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.081 0.024 343.316);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.081 0.024 343.316);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.791 0.014 343.891);
  --primary-foreground: oklch(0.255 0.01 344.424);
  --secondary: oklch(0.804 0.014 162.996);
  --secondary-foreground: oklch(0.264 0.01 162.46);
  --accent: oklch(0.804 0.014 162.996);
  --accent-foreground: oklch(0.264 0.01 162.46);
  --destructive: oklch(0.601 0.172 42.037);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.791 0.014 343.891);
  --chart-1: oklch(0.791 0.014 343.891);
  --chart-2: oklch(0.804 0.014 162.996);
  --chart-3: oklch(0.804 0.014 162.996);
  --chart-4: oklch(0.827 0.012 163.063);
  --chart-5: oklch(0.789 0.02 344.059);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.137 0.022 345.194);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.298 0.043 158.928);
  --muted-foreground: oklch(0.725 0.033 162.24);
  --popover: oklch(0.137 0.022 345.194);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.137 0.022 345.194);
  --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.791 0.014 343.891);
  --primary-foreground: oklch(0.255 0.01 344.424);
  --secondary: oklch(0.804 0.014 162.996);
  --secondary-foreground: oklch(0.264 0.01 162.46);
  --accent: oklch(0.804 0.014 162.996);
  --accent-foreground: oklch(0.264 0.01 162.46);
  --destructive: oklch(0.649 0.187 41.886);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.791 0.014 343.891);
  --chart-1: oklch(0.791 0.014 343.891);
  --chart-2: oklch(0.804 0.014 162.996);
  --chart-3: oklch(0.804 0.014 162.996);
  --chart-4: oklch(0.827 0.012 163.063);
  --chart-5: oklch(0.789 0.02 344.059);
}