Burdensome for shadcn/ui

Burdensome is a shadcn/ui theme built around a vivid deep violet primary color (#350977) with near-white accents (#ebebeb). The light mode uses a neutral background (#f9f8fc). Dark mode keeps the vivid deep violet primary (#350977) on a neutral background (#050208).

Color palette

TokenLightDark
Background
#f9f8fcghostwhite
#050208black
Foreground
#090410black
#ffffffwhite
Card
#f9f8fcghostwhite
#050208black
Card foreground
#090410black
#ffffffwhite
Popover
#f9f8fcghostwhite
#050208black
Popover foreground
#090410black
#ffffffwhite
Primary
#350977indigo
#350977indigo
Primary foreground
#d2b8fathistle
#d2b8fathistle
Secondary
#ebebeblinen
#1e1e20black
Secondary foreground
#525252darkslategray
#b7b5basilver
Muted
#e5dcdcgainsboro
#1e1a23black
Muted foreground
#5e4a4adarkolivegreen
#a9a1b5darkgray
Accent
#ebebeblinen
#1e1e20black
Accent foreground
#525252darkslategray
#b7b5basilver
Destructive
#692907saddlebrown
#e05910chocolate
Destructive foreground
#f9c5a9navajowhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#350977indigo
#350977indigo

Contrast

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

Light mode
Text on background19.16:1AAA
Text on card19.16:1AAA
Primary button8.24:1AAA
Secondary button6.53:1AA
Muted text6.09:1AA
Accent6.53:1AA
Destructive7.05:1AAA
Dark mode
Text on background20.58:1AAA
Text on card20.58:1AAA
Primary button8.24:1AAA
Secondary button8.20:1AAA
Muted text6.89:1AA
Accent8.20:1AAA
Destructive3.75:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.006 304.262);
  --foreground: oklch(0.126 0.032 303.758);
  --muted: oklch(0.901 0.01 17.343);
  --muted-foreground: oklch(0.43 0.028 18.277);
  --popover: oklch(0.981 0.006 304.262);
  --popover-foreground: oklch(0.126 0.032 303.758);
  --card: oklch(0.981 0.006 304.262);
  --card-foreground: oklch(0.126 0.032 303.758);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.304 0.161 290.951);
  --primary-foreground: oklch(0.827 0.095 302.684);
  --secondary: oklch(0.939 0 180);
  --secondary-foreground: oklch(0.437 0 180);
  --accent: oklch(0.939 0 180);
  --accent-foreground: oklch(0.437 0 180);
  --destructive: oklch(0.369 0.101 44.032);
  --destructive-foreground: oklch(0.863 0.071 49.7);
  --ring: oklch(0.304 0.161 290.951);
  --chart-1: oklch(0.304 0.161 290.951);
  --chart-2: oklch(0.939 0 180);
  --chart-3: oklch(0.939 0 180);
  --chart-4: oklch(0.962 0 180);
  --chart-5: oklch(0.304 0.164 290.271);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.102 0.02 305.285);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.226 0.018 303.18);
  --muted-foreground: oklch(0.721 0.03 303.746);
  --popover: oklch(0.102 0.02 305.285);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.102 0.02 305.285);
  --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.304 0.161 290.951);
  --primary-foreground: oklch(0.827 0.095 302.684);
  --secondary: oklch(0.235 0.004 304.124);
  --secondary-foreground: oklch(0.777 0.006 304.229);
  --accent: oklch(0.235 0.004 304.124);
  --accent-foreground: oklch(0.777 0.006 304.229);
  --destructive: oklch(0.631 0.184 42.309);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.304 0.161 290.951);
  --chart-1: oklch(0.304 0.161 290.951);
  --chart-2: oklch(0.235 0.004 304.124);
  --chart-3: oklch(0.235 0.004 304.124);
  --chart-4: oklch(0.267 0.004 304.109);
  --chart-5: oklch(0.304 0.164 290.271);
}