Squeaky for shadcn/ui

Squeaky is a shadcn/ui theme built around a vivid green primary color (#43e579) with vivid orange accents (#e57943). The light mode uses a neutral background (#fbfefc). Dark mode keeps the vivid green primary (#43e579) on a neutral background (#030704).

Color palette

TokenLightDark
Background
#fbfefcwhite
#030704black
Foreground
#031208black
#fcfdfcwhite
Card
#fbfefcwhite
#030704black
Card foreground
#031208black
#fcfdfcwhite
Popover
#fbfefcwhite
#030704black
Popover foreground
#031208black
#fcfdfcwhite
Primary
#43e579mediumseagreen
#43e579mediumseagreen
Primary foreground
#000000black
#000000black
Secondary
#7943e5blueviolet
#7943e5blueviolet
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#d4cae7thistle
#211835midnightblue
Muted foreground
#433e4cdarkslategray
#b8b3c1silver
Accent
#e57943peru
#e57943peru
Accent foreground
#000000black
#000000black
Destructive
#631603maroon
#ea3406orangered
Destructive foreground
#fcaf9clightsalmon
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#43e579mediumseagreen
#43e579mediumseagreen

Contrast

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

Light mode
Text on background18.90:1AAA
Text on card18.90:1AAA
Primary button12.75:1AAA
Secondary button5.62:1AA
Muted text6.60:1AA
Accent7.14:1AAA
Destructive7.11:1AAA
Dark mode
Text on background19.87:1AAA
Text on card19.87:1AAA
Primary button12.75:1AAA
Secondary button5.62:1AA
Muted text8.23:1AAA
Accent7.14:1AAA
Destructive4.22:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.004 157.181);
  --foreground: oklch(0.162 0.031 155.19);
  --muted: oklch(0.857 0.041 300.719);
  --muted-foreground: oklch(0.374 0.024 300.456);
  --popover: oklch(0.994 0.004 157.181);
  --popover-foreground: oklch(0.162 0.031 155.19);
  --card: oklch(0.994 0.004 157.181);
  --card-foreground: oklch(0.162 0.031 155.19);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.816 0.2 150.044);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.541 0.23 292.193);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.689 0.151 45.531);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.332 0.114 34.729);
  --destructive-foreground: oklch(0.823 0.096 34.608);
  --ring: oklch(0.816 0.2 150.044);
  --chart-1: oklch(0.816 0.2 150.044);
  --chart-2: oklch(0.541 0.23 292.193);
  --chart-3: oklch(0.689 0.151 45.531);
  --chart-4: oklch(0.569 0.216 293.692);
  --chart-5: oklch(0.823 0.206 149.795);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.121 0.012 157.031);
  --foreground: oklch(0.993 0.002 157.219);
  --muted: oklch(0.236 0.055 297.373);
  --muted-foreground: oklch(0.776 0.02 301.079);
  --popover: oklch(0.121 0.012 157.031);
  --popover-foreground: oklch(0.993 0.002 157.219);
  --card: oklch(0.121 0.012 157.031);
  --card-foreground: oklch(0.993 0.002 157.219);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.816 0.2 150.044);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.541 0.23 292.193);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.689 0.151 45.531);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.609 0.222 33.058);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.816 0.2 150.044);
  --chart-1: oklch(0.816 0.2 150.044);
  --chart-2: oklch(0.541 0.23 292.193);
  --chart-3: oklch(0.689 0.151 45.531);
  --chart-4: oklch(0.569 0.216 293.692);
  --chart-5: oklch(0.823 0.206 149.795);
}