Organizing for shadcn/ui

Organizing is a shadcn/ui theme built around a light indigo primary color (#f1effb) with neutral gray accents (#dad9de). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the light indigo primary (#f1effb) on an indigo-tinted background (#05040b).

Color palette

TokenLightDark
Background
#fbfbfeghostwhite
#05040bblack
Foreground
#060411black
#f9f9fbghostwhite
Card
#f8f6fdghostwhite
#07050fblack
Card foreground
#05030dblack
#fcfcfdwhite
Popover
#f8f6fdghostwhite
#07050fblack
Popover foreground
#05030dblack
#fcfcfdwhite
Primary
#f1effbwhitesmoke
#f1effbwhitesmoke
Primary foreground
#3d288fdarkslateblue
#3d288fdarkslateblue
Secondary
#eaeaeblavender
#27262cdarkslategray
Secondary foreground
#515152darkslategray
#bfbec6silver
Muted
#dddae7gainsboro
#1b1825black
Muted foreground
#4f4d56darkslategray
#aaa9b2darkgray
Accent
#dad9degainsboro
#34313fdarkslategray
Accent foreground
#403e47darkslategray
#cecbd7lightgrey
Destructive
#8e2510saddlebrown
#ea5f43tomato
Destructive foreground
#fadcd6mistyrose
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f1effbwhitesmoke
#f1effbwhitesmoke

Contrast

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

Light mode
Text on background19.66:1AAA
Text on card19.15:1AAA
Primary button9.74:1AAA
Secondary button6.61:1AA
Muted text6.04:1AA
Accent7.47:1AAA
Destructive6.70:1AA
Dark mode
Text on background19.41:1AAA
Text on card19.72:1AAA
Primary button9.74:1AAA
Secondary button8.14:1AAA
Muted text7.47:1AAA
Accent7.95:1AAA
Destructive6.20:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.005 295.492);
  --foreground: oklch(0.12 0.034 292.981);
  --muted: oklch(0.895 0.017 295.233);
  --muted-foreground: oklch(0.425 0.016 294.872);
  --popover: oklch(0.977 0.009 295.404);
  --popover-foreground: oklch(0.108 0.029 294.04);
  --card: oklch(0.977 0.009 295.404);
  --card-foreground: oklch(0.108 0.029 294.04);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.957 0.015 295.282);
  --primary-foreground: oklch(0.373 0.16 284.759);
  --secondary: oklch(0.938 0.001 295.568);
  --secondary-foreground: oklch(0.435 0.003 295.465);
  --accent: oklch(0.887 0.007 295.436);
  --accent-foreground: oklch(0.368 0.016 294.776);
  --destructive: oklch(0.431 0.144 33.022);
  --destructive-foreground: oklch(0.918 0.035 31.163);
  --ring: oklch(0.957 0.015 295.282);
  --chart-1: oklch(0.957 0.015 295.282);
  --chart-2: oklch(0.938 0.001 295.568);
  --chart-3: oklch(0.887 0.007 295.436);
  --chart-4: oklch(0.962 0 295.572);
  --chart-5: oklch(0.957 0.016 295.266);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.114 0.021 294.625);
  --foreground: oklch(0.983 0.002 295.538);
  --muted: oklch(0.22 0.024 293.509);
  --muted-foreground: oklch(0.738 0.014 295.227);
  --popover: oklch(0.126 0.025 293.789);
  --popover-foreground: oklch(0.992 0.001 295.558);
  --card: oklch(0.126 0.025 293.789);
  --card-foreground: oklch(0.992 0.001 295.558);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.957 0.015 295.282);
  --primary-foreground: oklch(0.373 0.16 284.759);
  --secondary: oklch(0.272 0.011 294.859);
  --secondary-foreground: oklch(0.804 0.012 295.302);
  --accent: oklch(0.322 0.026 294.064);
  --accent-foreground: oklch(0.848 0.017 295.218);
  --destructive: oklch(0.659 0.179 33.127);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.957 0.015 295.282);
  --chart-1: oklch(0.957 0.015 295.282);
  --chart-2: oklch(0.272 0.011 294.859);
  --chart-3: oklch(0.322 0.026 294.064);
  --chart-4: oklch(0.302 0.012 294.827);
  --chart-5: oklch(0.957 0.016 295.266);
}