Girl for shadcn/ui

Girl is a shadcn/ui theme built around a muted teal primary color (#678e89) with muted red accents (#8e676b). The light mode uses a neutral background (#fbfefd). Dark mode keeps the muted teal primary (#678e89) on a teal-tinted background (#060e0d).

Color palette

TokenLightDark
Background
#fbfefdwhite
#060e0dblack
Foreground
#000000black
#fbfdfdwhite
Card
#fbfefdwhite
#060e0dblack
Card foreground
#000000black
#fbfdfdwhite
Popover
#fbfefdwhite
#060e0dblack
Popover foreground
#000000black
#fbfdfdwhite
Primary
#678e89slategray
#678e89slategray
Primary foreground
#000000black
#000000black
Secondary
#8e676bgray
#8e676bgray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#eee7e8linen
#181112black
Muted foreground
#594648darkslategray
#b9a6a9darkgray
Accent
#8e676bgray
#8e676bgray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#7a1d00maroon
#ff5f2etomato
Destructive foreground
#ffc0adlightpink
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#678e89slategray
#678e89slategray

Contrast

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

Light mode
Text on background20.66:1AAA
Text on card20.66:1AAA
Primary button5.80:1AA
Secondary button4.88:1AA
Muted text7.21:1AAA
Accent4.88:1AA
Destructive6.68:1AA
Dark mode
Text on background19.09:1AAA
Text on card19.09:1AAA
Primary button5.80:1AA
Secondary button4.88:1AA
Muted text8.06:1AAA
Accent4.88:1AA
Destructive6.91:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 188.85);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.934 0.007 9.091);
  --muted-foreground: oklch(0.413 0.026 10.409);
  --popover: oklch(0.994 0.003 188.85);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.994 0.003 188.85);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.616 0.044 187.124);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.555 0.051 11.092);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.555 0.051 11.092);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.384 0.133 35.579);
  --destructive-foreground: oklch(0.861 0.077 37.605);
  --ring: oklch(0.616 0.044 187.124);
  --chart-1: oklch(0.616 0.044 187.124);
  --chart-2: oklch(0.555 0.051 11.092);
  --chart-3: oklch(0.555 0.051 11.092);
  --chart-4: oklch(0.58 0.051 11.011);
  --chart-5: oklch(0.624 0.051 186.821);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.155 0.013 187.343);
  --foreground: oklch(0.994 0.002 188.861);
  --muted: oklch(0.187 0.011 10.297);
  --muted-foreground: oklch(0.744 0.022 9.616);
  --popover: oklch(0.155 0.013 187.343);
  --popover-foreground: oklch(0.994 0.002 188.861);
  --card: oklch(0.155 0.013 187.343);
  --card-foreground: oklch(0.994 0.002 188.861);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.616 0.044 187.124);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.555 0.051 11.092);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.555 0.051 11.092);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.689 0.204 36.73);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.616 0.044 187.124);
  --chart-1: oklch(0.616 0.044 187.124);
  --chart-2: oklch(0.555 0.051 11.092);
  --chart-3: oklch(0.555 0.051 11.092);
  --chart-4: oklch(0.58 0.051 11.011);
  --chart-5: oklch(0.624 0.051 186.821);
}