Breakable Bloomsberry for shadcn/ui

Breakable Bloomsberry is a shadcn/ui theme built around a muted indigo primary color (#a49ac6) with muted light indigo accents (#cfcdd5). The light mode uses a neutral background (#fcfcfd). Dark mode keeps the muted indigo primary (#a49ac6) on a neutral background (#020104).

Color palette

TokenLightDark
Background
#fcfcfdwhite
#020104black
Foreground
#030208black
#fcfcfdwhite
Card
#fcfcfdwhite
#020104black
Card foreground
#030208black
#fcfcfdwhite
Popover
#fcfcfdwhite
#020104black
Popover foreground
#030208black
#fcfcfdwhite
Primary
#a49ac6darkgray
#a49ac6darkgray
Primary foreground
#14111dblack
#14111dblack
Secondary
#e5e5e6gainsboro
#1c1a23black
Secondary foreground
#4b4a4fdarkslategray
#b2aec2silver
Muted
#d4cee8gainsboro
#1d1731black
Muted foreground
#3f3b4fdarkslategray
#b5b0c4silver
Accent
#cfcdd5lightgrey
#282338darkslategray
Accent foreground
#36343ddarkslategray
#c0bad4silver
Destructive
#da0f0bred
#f31512red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#ededeewhitesmoke
#1e1e1fblack
Input
#ededeewhitesmoke
#1e1e1fblack
Ring
#a49ac6darkgray
#a49ac6darkgray

Contrast

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

Light mode
Text on background20.10:1AAA
Text on card20.10:1AAA
Primary button7.10:1AAA
Secondary button6.96:1AA
Muted text7.10:1AAA
Accent7.80:1AAA
Destructive5.17:1AA
Dark mode
Text on background20.29:1AAA
Text on card20.29:1AAA
Primary button7.10:1AAA
Secondary button7.94:1AAA
Muted text8.19:1AAA
Accent8.04:1AAA
Destructive4.27:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.002 297.036);
  --foreground: oklch(0.095 0.025 296.386);
  --muted: oklch(0.865 0.036 296.332);
  --muted-foreground: oklch(0.364 0.036 295.272);
  --popover: oklch(0.991 0.002 297.036);
  --popover-foreground: oklch(0.095 0.025 296.386);
  --card: oklch(0.991 0.002 297.036);
  --card-foreground: oklch(0.095 0.025 296.386);
  --border: oklch(0.946 0.001 297.061);
  --input: oklch(0.946 0.001 297.061);
  --primary: oklch(0.71 0.065 295.403);
  --primary-foreground: oklch(0.186 0.026 294.429);
  --secondary: oklch(0.922 0.002 297.039);
  --secondary-foreground: oklch(0.413 0.008 296.745);
  --accent: oklch(0.853 0.01 296.864);
  --accent-foreground: oklch(0.329 0.016 296.204);
  --destructive: oklch(0.562 0.225 29.014);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.71 0.065 295.403);
  --chart-1: oklch(0.71 0.065 295.403);
  --chart-2: oklch(0.922 0.002 297.039);
  --chart-3: oklch(0.853 0.01 296.864);
  --chart-4: oklch(0.945 0.001 297.052);
  --chart-5: oklch(0.705 0.072 295.2);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.078 0.016 296.54);
  --foreground: oklch(0.991 0.002 297.035);
  --muted: oklch(0.225 0.049 292.764);
  --muted-foreground: oklch(0.767 0.03 296.382);
  --popover: oklch(0.078 0.016 296.54);
  --popover-foreground: oklch(0.991 0.002 297.035);
  --card: oklch(0.078 0.016 296.54);
  --card-foreground: oklch(0.991 0.002 297.035);
  --border: oklch(0.236 0.002 296.9);
  --input: oklch(0.236 0.002 296.9);
  --primary: oklch(0.71 0.065 295.403);
  --primary-foreground: oklch(0.186 0.026 294.429);
  --secondary: oklch(0.225 0.017 295.726);
  --secondary-foreground: oklch(0.76 0.029 296.396);
  --accent: oklch(0.273 0.039 294.386);
  --accent-foreground: oklch(0.802 0.037 296.253);
  --destructive: oklch(0.61 0.243 28.919);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.71 0.065 295.403);
  --chart-1: oklch(0.71 0.065 295.403);
  --chart-2: oklch(0.225 0.017 295.726);
  --chart-3: oklch(0.273 0.039 294.386);
  --chart-4: oklch(0.255 0.02 295.626);
  --chart-5: oklch(0.705 0.072 295.2);
}