Breath for shadcn/ui

Breath is a shadcn/ui theme built around a light orange primary color (#fae8e0) with light yellow accents (#faf5e0). The light mode uses a neutral background (#fdfcfc). Dark mode keeps the light orange primary (#fae8e0) on a neutral background (#080402).

Color palette

TokenLightDark
Background
#fdfcfcsnow
#080402black
Foreground
#040201black
#fbfaf9snow
Card
#fdfcfcsnow
#080402black
Card foreground
#040201black
#fbfaf9snow
Popover
#fdfcfcsnow
#080402black
Popover foreground
#040201black
#fbfaf9snow
Primary
#fae8e0mistyrose
#fae8e0mistyrose
Primary foreground
#913e18saddlebrown
#913e18saddlebrown
Secondary
#fae0e5mistyrose
#fae0e5mistyrose
Secondary foreground
#91182ebrown
#91182ebrown
Muted
#f3e7e9linen
#180c0eblack
Muted foreground
#5b494cdarkslategray
#b6a4a8darkgray
Accent
#faf5e0beige
#faf5e0beige
Accent foreground
#393009black
#393009black
Destructive
#672304maroon
#e74f08orangered
Destructive foreground
#fcbea1lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#fae8e0mistyrose
#fae8e0mistyrose

Contrast

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

Light mode
Text on background20.23:1AAA
Text on card20.23:1AAA
Primary button6.10:1AA
Secondary button7.11:1AAA
Muted text6.96:1AA
Accent12.02:1AAA
Destructive7.12:1AAA
Dark mode
Text on background19.57:1AAA
Text on card19.57:1AAA
Primary button6.10:1AA
Secondary button7.11:1AAA
Muted text8.08:1AAA
Accent12.02:1AAA
Destructive3.79:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.002 46.839);
  --foreground: oklch(0.09 0.014 58.144);
  --muted: oklch(0.938 0.013 4.691);
  --muted-foreground: oklch(0.424 0.025 5.838);
  --popover: oklch(0.992 0.002 46.839);
  --popover-foreground: oklch(0.09 0.014 58.144);
  --card: oklch(0.992 0.002 46.839);
  --card-foreground: oklch(0.09 0.014 58.144);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.944 0.022 46.604);
  --primary-foreground: oklch(0.469 0.123 42.661);
  --secondary: oklch(0.93 0.029 5.126);
  --secondary-foreground: oklch(0.428 0.154 17.724);
  --accent: oklch(0.969 0.028 96.508);
  --accent-foreground: oklch(0.311 0.056 96.124);
  --destructive: oklch(0.357 0.105 41.155);
  --destructive-foreground: oklch(0.851 0.081 45.979);
  --ring: oklch(0.944 0.022 46.604);
  --chart-1: oklch(0.944 0.022 46.604);
  --chart-2: oklch(0.93 0.029 5.126);
  --chart-3: oklch(0.969 0.028 96.508);
  --chart-4: oklch(0.96 0.016 4.758);
  --chart-5: oklch(0.944 0.023 46.595);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.114 0.013 54.958);
  --foreground: oklch(0.985 0.002 46.836);
  --muted: oklch(0.172 0.021 7.581);
  --muted-foreground: oklch(0.736 0.021 5.072);
  --popover: oklch(0.114 0.013 54.958);
  --popover-foreground: oklch(0.985 0.002 46.836);
  --card: oklch(0.114 0.013 54.958);
  --card-foreground: oklch(0.985 0.002 46.836);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.944 0.022 46.604);
  --primary-foreground: oklch(0.469 0.123 42.661);
  --secondary: oklch(0.93 0.029 5.126);
  --secondary-foreground: oklch(0.428 0.154 17.724);
  --accent: oklch(0.969 0.028 96.508);
  --accent-foreground: oklch(0.311 0.056 96.124);
  --destructive: oklch(0.631 0.199 38.98);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.944 0.022 46.604);
  --chart-1: oklch(0.944 0.022 46.604);
  --chart-2: oklch(0.93 0.029 5.126);
  --chart-3: oklch(0.969 0.028 96.508);
  --chart-4: oklch(0.96 0.016 4.758);
  --chart-5: oklch(0.944 0.023 46.595);
}