Parade for shadcn/ui

Parade is a shadcn/ui theme built around a teal primary color (#22d8a4) with yellow accents (#d8a422). The light mode uses a neutral background (#fbfefd). Dark mode keeps the teal primary (#22d8a4) on a neutral background (#030706).

Color palette

TokenLightDark
Background
#fbfefdwhite
#030706black
Foreground
#020907black
#fbfdfdwhite
Card
#fbfefdwhite
#030706black
Card foreground
#020907black
#fbfdfdwhite
Popover
#fbfefdwhite
#030706black
Popover foreground
#020907black
#fbfdfdwhite
Primary
#22d8a4lightseagreen
#22d8a4lightseagreen
Primary foreground
#06281eblack
#06281eblack
Secondary
#a422d8darkorchid
#a422d8darkorchid
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#ece7eelavender
#161118black
Muted foreground
#555256dimgray
#aca9addarkgray
Accent
#d8a422goldenrod
#d8a422goldenrod
Accent foreground
#281e06black
#281e06black
Destructive
#c65315chocolate
#eb7a3dcoral
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#22d8a4lightseagreen
#22d8a4lightseagreen

Contrast

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

Light mode
Text on background19.77:1AAA
Text on card19.77:1AAA
Primary button8.60:1AAA
Secondary button5.51:1AA
Muted text6.31:1AA
Accent7.26:1AAA
Destructive4.50:1AA
Dark mode
Text on background19.82:1AAA
Text on card19.82:1AAA
Primary button8.60:1AAA
Secondary button5.51:1AA
Muted text8.02:1AAA
Accent7.26:1AAA
Destructive7.36:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 177.634);
  --foreground: oklch(0.126 0.018 177.886);
  --muted: oklch(0.934 0.012 316.571);
  --muted-foreground: oklch(0.444 0.006 316.568);
  --popover: oklch(0.994 0.003 177.634);
  --popover-foreground: oklch(0.126 0.018 177.886);
  --card: oklch(0.994 0.003 177.634);
  --card-foreground: oklch(0.126 0.018 177.886);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.786 0.155 167.176);
  --primary-foreground: oklch(0.248 0.043 170.431);
  --secondary: oklch(0.554 0.255 313.196);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.749 0.146 84.382);
  --accent-foreground: oklch(0.241 0.041 87.536);
  --destructive: oklch(0.584 0.162 43.531);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.786 0.155 167.176);
  --chart-1: oklch(0.786 0.155 167.176);
  --chart-2: oklch(0.554 0.255 313.196);
  --chart-3: oklch(0.749 0.146 84.382);
  --chart-4: oklch(0.573 0.254 313.626);
  --chart-5: oklch(0.795 0.159 166.783);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.122 0.011 177.822);
  --foreground: oklch(0.994 0.002 177.651);
  --muted: oklch(0.186 0.018 316.328);
  --muted-foreground: oklch(0.738 0.005 316.587);
  --popover: oklch(0.122 0.011 177.822);
  --popover-foreground: oklch(0.994 0.002 177.651);
  --card: oklch(0.122 0.011 177.822);
  --card-foreground: oklch(0.994 0.002 177.651);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.786 0.155 167.176);
  --primary-foreground: oklch(0.248 0.043 170.431);
  --secondary: oklch(0.554 0.255 313.196);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.749 0.146 84.382);
  --accent-foreground: oklch(0.241 0.041 87.536);
  --destructive: oklch(0.697 0.158 46.605);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.786 0.155 167.176);
  --chart-1: oklch(0.786 0.155 167.176);
  --chart-2: oklch(0.554 0.255 313.196);
  --chart-3: oklch(0.749 0.146 84.382);
  --chart-4: oklch(0.573 0.254 313.626);
  --chart-5: oklch(0.795 0.159 166.783);
}