Acrobatic for shadcn/ui

Acrobatic is a shadcn/ui theme built around a muted deep teal primary color (#40544f) with muted deep yellow accents (#544f40). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep teal primary (#40544f) on a neutral background (#010403).

Color palette

TokenLightDark
Background
#ffffffwhite
#010403black
Foreground
#010907black
#ffffffwhite
Card
#ffffffwhite
#010403black
Card foreground
#010907black
#ffffffwhite
Popover
#ffffffwhite
#010403black
Popover foreground
#010907black
#ffffffwhite
Primary
#40544fdarkslategray
#40544fdarkslategray
Primary foreground
#dfe7e5gainsboro
#dfe7e5gainsboro
Secondary
#4f4054darkslategray
#4f4054darkslategray
Secondary foreground
#e5dfe7gainsboro
#e5dfe7gainsboro
Muted
#f4eff6whitesmoke
#0f0910black
Muted foreground
#454446darkslategray
#bbb9bbsilver
Accent
#544f40darkolivegreen
#544f40darkolivegreen
Accent foreground
#e7e5dfgainsboro
#e7e5dfgainsboro
Destructive
#af100dfirebrick
#ef2d2acrimson
Destructive foreground
#fef1f1lavenderblush
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#40544fdarkslategray
#40544fdarkslategray

Contrast

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

Light mode
Text on background20.12:1AAA
Text on card20.12:1AAA
Primary button6.45:1AA
Secondary button7.28:1AAA
Muted text8.53:1AAA
Accent6.49:1AA
Destructive6.54:1AA
Dark mode
Text on background20.60:1AAA
Text on card20.60:1AAA
Primary button6.45:1AA
Secondary button7.28:1AAA
Muted text10.08:1AAA
Accent6.49:1AA
Destructive4.13:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.128 0.019 180.945);
  --muted: oklch(0.958 0.01 318.319);
  --muted-foreground: oklch(0.389 0.003 318.323);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.128 0.019 180.945);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.128 0.019 180.945);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.427 0.025 179.2);
  --primary-foreground: oklch(0.921 0.008 180.71);
  --secondary: oklch(0.396 0.037 318.233);
  --secondary-foreground: oklch(0.911 0.011 318.318);
  --accent: oklch(0.428 0.024 93.09);
  --accent-foreground: oklch(0.921 0.008 92.739);
  --destructive: oklch(0.48 0.189 28.741);
  --destructive-foreground: oklch(0.968 0.014 18.585);
  --ring: oklch(0.427 0.025 179.2);
  --chart-1: oklch(0.427 0.025 179.2);
  --chart-2: oklch(0.396 0.037 318.233);
  --chart-3: oklch(0.428 0.024 93.09);
  --chart-4: oklch(0.423 0.04 318.231);
  --chart-5: oklch(0.431 0.03 178.807);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.097 0.009 180.951);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.152 0.016 318.227);
  --muted-foreground: oklch(0.788 0.002 318.327);
  --popover: oklch(0.097 0.009 180.951);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.097 0.009 180.951);
  --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.427 0.025 179.2);
  --primary-foreground: oklch(0.921 0.008 180.71);
  --secondary: oklch(0.396 0.037 318.233);
  --secondary-foreground: oklch(0.911 0.011 318.318);
  --accent: oklch(0.428 0.024 93.09);
  --accent-foreground: oklch(0.921 0.008 92.739);
  --destructive: oklch(0.616 0.228 27.773);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.427 0.025 179.2);
  --chart-1: oklch(0.427 0.025 179.2);
  --chart-2: oklch(0.396 0.037 318.233);
  --chart-3: oklch(0.428 0.024 93.09);
  --chart-4: oklch(0.423 0.04 318.231);
  --chart-5: oklch(0.431 0.03 178.807);
}