Cumbersome for shadcn/ui

Cumbersome is a shadcn/ui theme built around a violet primary color (#511ea4) with neutral gray accents (#cececf). The light mode uses a neutral background (#faf8fb). Dark mode keeps the violet primary (#511ea4) on a violet-tinted background (#090410).

Color palette

TokenLightDark
Background
#faf8fbghostwhite
#090410black
Foreground
#040109black
#f7f5f9whitesmoke
Card
#faf8fbghostwhite
#090410black
Card foreground
#040109black
#f7f5f9whitesmoke
Popover
#faf8fbghostwhite
#090410black
Popover foreground
#040109black
#f7f5f9whitesmoke
Primary
#511ea4rebeccapurple
#511ea4rebeccapurple
Primary foreground
#f9f6fdghostwhite
#f9f6fdghostwhite
Secondary
#cececflightgrey
#141316black
Secondary foreground
#353536darkslategray
#aca8b3darkgray
Muted
#eae6eflavender
#131019black
Muted foreground
#514861darkslategray
#a89eb7darkgray
Accent
#cececflightgrey
#141316black
Accent foreground
#353536darkslategray
#aca8b3darkgray
Destructive
#6d0c03maroon
#f92410orangered
Destructive foreground
#fdada5lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#511ea4rebeccapurple
#511ea4rebeccapurple

Contrast

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

Light mode
Text on background19.64:1AAA
Text on card19.64:1AAA
Primary button9.46:1AAA
Secondary button7.80:1AAA
Muted text6.97:1AA
Accent7.80:1AAA
Destructive6.85:1AA
Dark mode
Text on background18.66:1AAA
Text on card18.66:1AAA
Primary button9.46:1AAA
Secondary button7.93:1AAA
Muted text7.37:1AAA
Accent7.93:1AAA
Destructive3.97:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.004 303.574);
  --foreground: oklch(0.093 0.031 305.124);
  --muted: oklch(0.931 0.012 303.449);
  --muted-foreground: oklch(0.42 0.043 302.109);
  --popover: oklch(0.982 0.004 303.574);
  --popover-foreground: oklch(0.093 0.031 305.124);
  --card: oklch(0.982 0.004 303.574);
  --card-foreground: oklch(0.093 0.031 305.124);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.401 0.194 292.641);
  --primary-foreground: oklch(0.978 0.01 303.493);
  --secondary: oklch(0.852 0.001 303.615);
  --secondary-foreground: oklch(0.33 0.002 303.552);
  --accent: oklch(0.852 0.001 303.615);
  --accent-foreground: oklch(0.33 0.002 303.552);
  --destructive: oklch(0.344 0.131 30.595);
  --destructive-foreground: oklch(0.822 0.095 25.089);
  --ring: oklch(0.401 0.194 292.641);
  --chart-1: oklch(0.401 0.194 292.641);
  --chart-2: oklch(0.852 0.001 303.615);
  --chart-3: oklch(0.852 0.001 303.615);
  --chart-4: oklch(0.876 0.001 303.62);
  --chart-5: oklch(0.4 0.199 291.913);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.127 0.029 303.005);
  --foreground: oklch(0.974 0.005 303.559);
  --muted: oklch(0.182 0.018 302.162);
  --muted-foreground: oklch(0.716 0.038 302.861);
  --popover: oklch(0.127 0.029 303.005);
  --popover-foreground: oklch(0.974 0.005 303.559);
  --card: oklch(0.127 0.029 303.005);
  --card-foreground: oklch(0.974 0.005 303.559);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.401 0.194 292.641);
  --primary-foreground: oklch(0.978 0.01 303.493);
  --secondary: oklch(0.189 0.006 303.174);
  --secondary-foreground: oklch(0.738 0.017 303.3);
  --accent: oklch(0.189 0.006 303.174);
  --accent-foreground: oklch(0.738 0.017 303.3);
  --destructive: oklch(0.627 0.243 30.085);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.401 0.194 292.641);
  --chart-1: oklch(0.401 0.194 292.641);
  --chart-2: oklch(0.189 0.006 303.174);
  --chart-3: oklch(0.189 0.006 303.174);
  --chart-4: oklch(0.222 0.008 303.115);
  --chart-5: oklch(0.4 0.199 291.913);
}