Burdensome for shadcn/ui

Burdensome is a shadcn/ui theme built around a light purple primary color (#f5dbf5) with muted purple accents (#c7b2c7). The light mode uses a neutral background (#ffffff). Dark mode keeps the light purple primary (#f5dbf5) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#080208black
#ffffffwhite
Card
#fcfcfcsnow
#030303black
Card foreground
#040104black
#ffffffwhite
Popover
#fcfcfcsnow
#030303black
Popover foreground
#040104black
#ffffffwhite
Primary
#f5dbf5lavender
#f5dbf5lavender
Primary foreground
#7d217dpurple
#7d217dpurple
Secondary
#d2cbd2lightgrey
#2c212cdarkslategray
Secondary foreground
#393239darkslategray
#c8b6c8silver
Muted
#e1d5e1gainsboro
#2a1e2adarkslategray
Muted foreground
#554e55darkslategray
#b1aab1darkgray
Accent
#c7b2c7silver
#492d49darkslategray
Accent foreground
#291e29darkslategray
#dec9dethistle
Destructive
#610805maroon
#f63e37tomato
Destructive foreground
#faa19elightsalmon
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f5dbf5lavender
#f5dbf5lavender

Contrast

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

Light mode
Text on background20.53:1AAA
Text on card20.31:1AAA
Primary button6.84:1AA
Secondary button7.82:1AAA
Muted text5.69:1AA
Accent8.10:1AAA
Destructive6.88:1AA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button6.84:1AA
Secondary button8.08:1AAA
Muted text7.05:1AAA
Accent7.74:1AAA
Destructive3.72:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.109 0.023 327);
  --muted: oklch(0.887 0.021 325.753);
  --muted-foreground: oklch(0.434 0.014 325.807);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.087 0.018 327);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.087 0.018 327);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.92 0.046 325.941);
  --primary-foreground: oklch(0.432 0.165 327.972);
  --secondary: oklch(0.85 0.012 325.681);
  --secondary-foreground: oklch(0.327 0.017 325.95);
  --accent: oklch(0.788 0.038 325.929);
  --accent-foreground: oklch(0.254 0.027 326.334);
  --destructive: oklch(0.316 0.122 29.142);
  --destructive-foreground: oklch(0.797 0.107 21.9);
  --ring: oklch(0.92 0.046 325.941);
  --chart-1: oklch(0.92 0.046 325.941);
  --chart-2: oklch(0.85 0.012 325.681);
  --chart-3: oklch(0.788 0.038 325.929);
  --chart-4: oklch(0.874 0.01 325.661);
  --chart-5: oklch(0.92 0.048 325.959);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.253 0.029 326.379);
  --muted-foreground: oklch(0.746 0.012 325.694);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.92 0.046 325.941);
  --primary-foreground: oklch(0.432 0.165 327.972);
  --secondary: oklch(0.264 0.025 326.256);
  --secondary-foreground: oklch(0.798 0.032 325.87);
  --accent: oklch(0.341 0.061 326.803);
  --accent-foreground: oklch(0.86 0.036 325.887);
  --destructive: oklch(0.641 0.221 27.521);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.92 0.046 325.941);
  --chart-1: oklch(0.92 0.046 325.941);
  --chart-2: oklch(0.264 0.025 326.256);
  --chart-3: oklch(0.341 0.061 326.803);
  --chart-4: oklch(0.295 0.029 326.286);
  --chart-5: oklch(0.92 0.048 325.959);
}