Acrobatic for shadcn/ui

Acrobatic is a shadcn/ui theme built around a muted light green primary color (#c1d7c8) with muted light green accents (#e5ebe7). The light mode uses a neutral background (#fbfefc). Dark mode keeps the muted light green primary (#c1d7c8) on a green-tinted background (#041008).

Color palette

TokenLightDark
Background
#fbfefcwhite
#041008black
Foreground
#000000black
#fcfdfcwhite
Card
#fbfefcwhite
#041008black
Card foreground
#000000black
#fcfdfcwhite
Popover
#fbfefcwhite
#041008black
Popover foreground
#000000black
#fcfdfcwhite
Primary
#c1d7c8lightgrey
#c1d7c8lightgrey
Primary foreground
#283e2fdarkslategray
#283e2fdarkslategray
Secondary
#e5ebe7lavender
#213126darkslategray
Secondary foreground
#445a4bdarkslategray
#b6cebdsilver
Muted
#f1f3f2whitesmoke
#0c0e0cblack
Muted foreground
#404f45darkslategray
#b0bfb5silver
Accent
#e5ebe7lavender
#213126darkslategray
Accent foreground
#445a4bdarkslategray
#b6cebdsilver
Destructive
#8d1b07darkred
#ed2e0corangered
Destructive foreground
#fcd1capink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c1d7c8lightgrey
#c1d7c8lightgrey

Contrast

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

Light mode
Text on background20.64:1AAA
Text on card20.64:1AAA
Primary button7.58:1AAA
Secondary button6.18:1AA
Muted text7.79:1AAA
Accent6.18:1AA
Destructive6.60:1AA
Dark mode
Text on background19.00:1AAA
Text on card19.00:1AAA
Primary button7.58:1AAA
Secondary button8.20:1AAA
Muted text10.13:1AAA
Accent8.20:1AAA
Destructive4.18:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 156.495);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.963 0.002 156.509);
  --muted-foreground: oklch(0.41 0.024 155.336);
  --popover: oklch(0.994 0.003 156.495);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.994 0.003 156.495);
  --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.858 0.03 155.842);
  --primary-foreground: oklch(0.34 0.037 154.145);
  --secondary: oklch(0.935 0.009 156.369);
  --secondary-foreground: oklch(0.445 0.037 154.817);
  --accent: oklch(0.935 0.009 156.369);
  --accent-foreground: oklch(0.445 0.037 154.817);
  --destructive: oklch(0.418 0.151 32.072);
  --destructive-foreground: oklch(0.896 0.05 29.767);
  --ring: oklch(0.858 0.03 155.842);
  --chart-1: oklch(0.858 0.03 155.842);
  --chart-2: oklch(0.935 0.009 156.369);
  --chart-3: oklch(0.935 0.009 156.369);
  --chart-4: oklch(0.957 0.006 156.437);
  --chart-5: oklch(0.86 0.035 155.739);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.158 0.025 154.918);
  --foreground: oklch(0.993 0.002 156.522);
  --muted: oklch(0.159 0.004 156.073);
  --muted-foreground: oklch(0.79 0.021 156.032);
  --popover: oklch(0.158 0.025 154.918);
  --popover-foreground: oklch(0.993 0.002 156.522);
  --card: oklch(0.158 0.025 154.918);
  --card-foreground: oklch(0.993 0.002 156.522);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.858 0.03 155.842);
  --primary-foreground: oklch(0.34 0.037 154.145);
  --secondary: oklch(0.295 0.03 154.378);
  --secondary-foreground: oklch(0.829 0.035 155.699);
  --accent: oklch(0.295 0.03 154.378);
  --accent-foreground: oklch(0.829 0.035 155.699);
  --destructive: oklch(0.612 0.228 31.733);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.858 0.03 155.842);
  --chart-1: oklch(0.858 0.03 155.842);
  --chart-2: oklch(0.295 0.03 154.378);
  --chart-3: oklch(0.295 0.03 154.378);
  --chart-4: oklch(0.328 0.034 154.286);
  --chart-5: oklch(0.86 0.035 155.739);
}