Balloon for shadcn/ui

Balloon is a shadcn/ui theme built around a neutral gray primary color (#c3c7cb) with muted light blue accents (#bec5cb). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the neutral gray primary (#c3c7cb) on a blue-tinted background (#050b0f).

Color palette

TokenLightDark
Background
#fbfdfewhite
#050b0fblack
Foreground
#02080dblack
#f9fafbghostwhite
Card
#f7fafdghostwhite
#070e13black
Card foreground
#020609black
#fcfdfdwhite
Popover
#fbfdfewhite
#050b0fblack
Popover foreground
#02080dblack
#f9fafbghostwhite
Primary
#c3c7cbsilver
#c3c7cbsilver
Primary foreground
#2b2e31darkslategray
#2b2e31darkslategray
Secondary
#d2d4d5lightgrey
#1b1f22black
Secondary foreground
#383b3ddarkslategray
#b0b9bfsilver
Muted
#d0dde7gainsboro
#18252fdarkslategray
Muted foreground
#4f5e69dimgray
#96a5b0darkgray
Accent
#bec5cbsilver
#262f36darkslategray
Accent foreground
#272c30darkslategray
#bdc8d0silver
Destructive
#7e1201maroon
#f22202red
Destructive foreground
#febdb3lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c3c7cbsilver
#c3c7cbsilver

Contrast

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

Light mode
Text on background19.68:1AAA
Text on card19.44:1AAA
Primary button8.05:1AAA
Secondary button7.58:1AAA
Muted text4.82:1AA
Accent8.09:1AAA
Destructive6.64:1AA
Dark mode
Text on background18.94:1AAA
Text on card19.10:1AAA
Primary button8.05:1AAA
Secondary button8.31:1AAA
Muted text6.16:1AA
Accent8.00:1AAA
Destructive4.18:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.003 240.32);
  --foreground: oklch(0.13 0.018 232.459);
  --muted: oklch(0.89 0.02 240.588);
  --muted-foreground: oklch(0.472 0.026 241.068);
  --popover: oklch(0.992 0.003 240.32);
  --popover-foreground: oklch(0.13 0.018 232.459);
  --card: oklch(0.984 0.005 240.357);
  --card-foreground: oklch(0.114 0.015 231.171);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.829 0.007 240.397);
  --primary-foreground: oklch(0.3 0.007 240.618);
  --secondary: oklch(0.868 0.003 240.331);
  --secondary-foreground: oklch(0.35 0.005 240.483);
  --accent: oklch(0.82 0.011 240.473);
  --accent-foreground: oklch(0.289 0.011 240.809);
  --destructive: oklch(0.383 0.144 31.828);
  --destructive-foreground: oklch(0.856 0.077 28.659);
  --ring: oklch(0.829 0.007 240.397);
  --chart-1: oklch(0.829 0.007 240.397);
  --chart-2: oklch(0.868 0.003 240.331);
  --chart-3: oklch(0.82 0.011 240.473);
  --chart-4: oklch(0.892 0.002 240.321);
  --chart-5: oklch(0.828 0.01 240.446);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.144 0.014 237.819);
  --foreground: oklch(0.985 0.002 240.306);
  --muted: oklch(0.258 0.026 241.906);
  --muted-foreground: oklch(0.714 0.023 240.739);
  --popover: oklch(0.144 0.014 237.819);
  --popover-foreground: oklch(0.985 0.002 240.306);
  --card: oklch(0.157 0.016 240.395);
  --card-foreground: oklch(0.992 0.001 240.295);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.829 0.007 240.397);
  --primary-foreground: oklch(0.3 0.007 240.618);
  --secondary: oklch(0.237 0.008 240.758);
  --secondary-foreground: oklch(0.78 0.014 240.53);
  --accent: oklch(0.299 0.017 241.13);
  --accent-foreground: oklch(0.827 0.017 240.562);
  --destructive: oklch(0.614 0.239 30.94);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.829 0.007 240.397);
  --chart-1: oklch(0.829 0.007 240.397);
  --chart-2: oklch(0.237 0.008 240.758);
  --chart-3: oklch(0.299 0.017 241.13);
  --chart-4: oklch(0.269 0.01 240.791);
  --chart-5: oklch(0.828 0.01 240.446);
}