Balloon for shadcn/ui

Balloon is a shadcn/ui theme built around a vivid deep orange primary color (#120702) with muted orange accents (#c0b8b4). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep orange primary (#120702) on a neutral background (#080402).

Color palette

TokenLightDark
Background
#ffffffwhite
#080402black
Foreground
#000000black
#f8f7f7whitesmoke
Card
#fcfcfcsnow
#0c0604black
Card foreground
#000000black
#fafaf9snow
Popover
#fcfcfcsnow
#0c0604black
Popover foreground
#000000black
#fafaf9snow
Primary
#120702black
#120702black
Primary foreground
#ed885acoral
#ed885acoral
Secondary
#cecbcalightgrey
#332f2edarkslategray
Secondary foreground
#353231darkslategray
#cdc8c6silver
Muted
#efeceblinen
#141110black
Muted foreground
#666260dimgray
#9f9a99darkgray
Accent
#c0b8b4silver
#4d423ddarkslategray
Accent foreground
#24201eblack
#e2dcdagainsboro
Destructive
#9d3110saddlebrown
#e95b2fchocolate
Destructive foreground
#fce9e3mistyrose
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#120702black
#120702black

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card20.54:1AAA
Primary button7.81:1AAA
Secondary button7.90:1AAA
Muted text5.15:1AA
Accent8.27:1AAA
Destructive6.20:1AA
Dark mode
Text on background19.08:1AAA
Text on card19.26:1AAA
Primary button7.81:1AAA
Secondary button7.94:1AAA
Muted text6.75:1AA
Accent7.17:1AAA
Destructive5.99:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.946 0.003 46.82);
  --muted-foreground: oklch(0.501 0.006 46.723);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --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.145 0.026 55.713);
  --primary-foreground: oklch(0.727 0.137 44.853);
  --secondary: oklch(0.845 0.003 46.821);
  --secondary-foreground: oklch(0.321 0.003 46.737);
  --accent: oklch(0.788 0.011 46.7);
  --accent-foreground: oklch(0.248 0.007 46.55);
  --destructive: oklch(0.471 0.149 36.173);
  --destructive-foreground: oklch(0.948 0.022 37.647);
  --ring: oklch(0.145 0.026 55.713);
  --chart-1: oklch(0.145 0.026 55.713);
  --chart-2: oklch(0.845 0.003 46.821);
  --chart-3: oklch(0.788 0.011 46.7);
  --chart-4: oklch(0.869 0.002 46.827);
  --chart-5: oklch(0.145 0.027 56.225);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.114 0.012 54.269);
  --foreground: oklch(0.977 0.001 46.842);
  --muted: oklch(0.181 0.005 46.582);
  --muted-foreground: oklch(0.691 0.006 46.766);
  --popover: oklch(0.131 0.014 53.96);
  --popover-foreground: oklch(0.985 0.001 46.847);
  --card: oklch(0.131 0.014 53.96);
  --card-foreground: oklch(0.985 0.001 46.847);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.145 0.026 55.713);
  --primary-foreground: oklch(0.727 0.137 44.853);
  --secondary: oklch(0.31 0.007 46.626);
  --secondary-foreground: oklch(0.837 0.006 46.78);
  --accent: oklch(0.388 0.018 46.393);
  --accent-foreground: oklch(0.899 0.007 46.77);
  --destructive: oklch(0.65 0.186 36.978);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.145 0.026 55.713);
  --chart-1: oklch(0.145 0.026 55.713);
  --chart-2: oklch(0.31 0.007 46.626);
  --chart-3: oklch(0.388 0.018 46.393);
  --chart-4: oklch(0.34 0.007 46.619);
  --chart-5: oklch(0.145 0.027 56.225);
}