Untidy for shadcn/ui

Untidy is a shadcn/ui theme built around a vivid light violet primary color (#dbd0fb) with vivid light green accents (#d0fbdb). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the vivid light violet primary (#dbd0fb) on a violet-tinted background (#070510).

Color palette

TokenLightDark
Background
#fcfbfewhite
#070510black
Foreground
#000000black
#fcfcfdwhite
Card
#fcfbfewhite
#070510black
Card foreground
#000000black
#fcfcfdwhite
Popover
#fcfbfewhite
#070510black
Popover foreground
#000000black
#fcfcfdwhite
Primary
#dbd0fblavender
#dbd0fblavender
Primary foreground
#2c0c8dindigo
#2c0c8dindigo
Secondary
#fbdbd0bisque
#fbdbd0bisque
Secondary foreground
#8d2c0csaddlebrown
#8d2c0csaddlebrown
Muted
#eceae9linen
#161413black
Muted foreground
#645f5edimgray
#a19d9bdarkgray
Accent
#d0fbdbgainsboro
#d0fbdbgainsboro
Accent foreground
#042f0fblack
#042f0fblack
Destructive
#690f07maroon
#f0220fred
Destructive foreground
#f9afa9lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#dbd0fblavender
#dbd0fblavender

Contrast

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

Light mode
Text on background20.39:1AAA
Text on card20.39:1AAA
Primary button9.34:1AAA
Secondary button6.45:1AA
Muted text5.23:1AA
Accent13.03:1AAA
Destructive6.99:1AA
Dark mode
Text on background19.74:1AAA
Text on card19.74:1AAA
Primary button9.34:1AAA
Secondary button6.45:1AA
Muted text6.84:1AA
Accent13.03:1AAA
Destructive4.25:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.003 297.767);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.938 0.003 39.487);
  --muted-foreground: oklch(0.491 0.006 39.432);
  --popover: oklch(0.99 0.003 297.767);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.99 0.003 297.767);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.88 0.059 296.612);
  --primary-foreground: oklch(0.323 0.184 280.013);
  --secondary: oklch(0.915 0.039 39.306);
  --secondary-foreground: oklch(0.437 0.137 36.962);
  --accent: oklch(0.949 0.062 152.719);
  --accent-foreground: oklch(0.268 0.073 147.596);
  --destructive: oklch(0.338 0.125 30.119);
  --destructive-foreground: oklch(0.824 0.088 24.943);
  --ring: oklch(0.88 0.059 296.612);
  --chart-1: oklch(0.88 0.059 296.612);
  --chart-2: oklch(0.915 0.039 39.306);
  --chart-3: oklch(0.949 0.062 152.719);
  --chart-4: oklch(0.94 0.027 39.355);
  --chart-5: oklch(0.879 0.062 296.565);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.126 0.027 296.321);
  --foreground: oklch(0.991 0.001 297.803);
  --muted: oklch(0.192 0.004 39.381);
  --muted-foreground: oklch(0.698 0.006 39.457);
  --popover: oklch(0.126 0.027 296.321);
  --popover-foreground: oklch(0.991 0.001 297.803);
  --card: oklch(0.126 0.027 296.321);
  --card-foreground: oklch(0.991 0.001 297.803);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.88 0.059 296.612);
  --primary-foreground: oklch(0.323 0.184 280.013);
  --secondary: oklch(0.915 0.039 39.306);
  --secondary-foreground: oklch(0.437 0.137 36.962);
  --accent: oklch(0.949 0.062 152.719);
  --accent-foreground: oklch(0.268 0.073 147.596);
  --destructive: oklch(0.61 0.236 30.085);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.88 0.059 296.612);
  --chart-1: oklch(0.88 0.059 296.612);
  --chart-2: oklch(0.915 0.039 39.306);
  --chart-3: oklch(0.949 0.062 152.719);
  --chart-4: oklch(0.94 0.027 39.355);
  --chart-5: oklch(0.879 0.062 296.565);
}