Breeze for shadcn/ui

Breeze is a shadcn/ui theme built around a near-white primary color (#fcf8fc) with near-white accents (#f8fcf8). The light mode uses a neutral background (#fcf8fb). Dark mode keeps the near-white primary (#fcf8fc) on a neutral background (#030203).

Color palette

TokenLightDark
Background
#fcf8fbsnow
#030203black
Foreground
#090108black
#fbf9fbsnow
Card
#fcf8fbsnow
#030203black
Card foreground
#090108black
#fbf9fbsnow
Popover
#fcf8fbsnow
#030203black
Popover foreground
#090108black
#fbf9fbsnow
Primary
#fcf8fcsnow
#fcf8fcsnow
Primary foreground
#873b83rebeccapurple
#873b83rebeccapurple
Secondary
#f8fcf8mintcream
#f8fcf8mintcream
Secondary foreground
#1c401edarkgreen
#1c401edarkgreen
Muted
#eceeecwhitesmoke
#111311black
Muted foreground
#425743darkslategray
#a8bda9darkgray
Accent
#f8fcf8mintcream
#f8fcf8mintcream
Accent foreground
#1c401edarkgreen
#1c401edarkgreen
Destructive
#611c05maroon
#f3511borangered
Destructive foreground
#fab59elightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#fcf8fcsnow
#fcf8fcsnow

Contrast

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

Light mode
Text on background19.59:1AAA
Text on card19.59:1AAA
Primary button6.68:1AA
Secondary button11.24:1AAA
Muted text6.74:1AA
Accent11.24:1AAA
Destructive7.26:1AAA
Dark mode
Text on background19.78:1AAA
Text on card19.78:1AAA
Primary button6.68:1AA
Secondary button11.24:1AAA
Muted text9.34:1AAA
Accent11.24:1AAA
Destructive3.49:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.006 327.092);
  --foreground: oklch(0.106 0.032 328.864);
  --muted: oklch(0.948 0.004 146.998);
  --muted-foreground: oklch(0.433 0.042 146.079);
  --popover: oklch(0.983 0.006 327.092);
  --popover-foreground: oklch(0.106 0.032 328.864);
  --card: oklch(0.983 0.006 327.092);
  --card-foreground: oklch(0.106 0.032 328.864);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.983 0.007 327.099);
  --primary-foreground: oklch(0.48 0.139 329.417);
  --secondary: oklch(0.987 0.006 146.977);
  --secondary-foreground: oklch(0.334 0.071 144.749);
  --accent: oklch(0.987 0.006 146.977);
  --accent-foreground: oklch(0.334 0.071 144.749);
  --destructive: oklch(0.335 0.105 37.305);
  --destructive-foreground: oklch(0.832 0.087 39.213);
  --ring: oklch(0.983 0.007 327.099);
  --chart-1: oklch(0.983 0.007 327.099);
  --chart-2: oklch(0.987 0.006 146.977);
  --chart-3: oklch(0.987 0.006 146.977);
  --chart-4: oklch(1.007 0.003 327.068);
  --chart-5: oklch(0.983 0.007 327.104);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.089 0.011 327.849);
  --foreground: oklch(0.984 0.004 327.074);
  --muted: oklch(0.183 0.006 146.719);
  --muted-foreground: oklch(0.777 0.037 146.585);
  --popover: oklch(0.089 0.011 327.849);
  --popover-foreground: oklch(0.984 0.004 327.074);
  --card: oklch(0.089 0.011 327.849);
  --card-foreground: oklch(0.984 0.004 327.074);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.983 0.007 327.099);
  --primary-foreground: oklch(0.48 0.139 329.417);
  --secondary: oklch(0.987 0.006 146.977);
  --secondary-foreground: oklch(0.334 0.071 144.749);
  --accent: oklch(0.987 0.006 146.977);
  --accent-foreground: oklch(0.334 0.071 144.749);
  --destructive: oklch(0.653 0.207 36.804);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.983 0.007 327.099);
  --chart-1: oklch(0.983 0.007 327.099);
  --chart-2: oklch(0.987 0.006 146.977);
  --chart-3: oklch(0.987 0.006 146.977);
  --chart-4: oklch(1.007 0.003 327.068);
  --chart-5: oklch(0.983 0.007 327.104);
}