Empty for shadcn/ui

Empty is a shadcn/ui theme built around a muted indigo primary color (#9b96ab) with muted light indigo accents (#e3e2e9). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted indigo primary (#9b96ab) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#080415black
#fcfcfdwhite
Card
#ffffffwhite
#000000black
Card foreground
#080415black
#fcfcfdwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#080415black
#fcfcfdwhite
Primary
#9b96abdarkgray
#9b96abdarkgray
Primary foreground
#070708black
#070708black
Secondary
#e3e2e9gainsboro
#242424darkslategray
Secondary foreground
#464158darkslategray
#bdbdbdsilver
Muted
#ecebf0lavender
#140f0fblack
Muted foreground
#565558dimgray
#aaa7a7darkgray
Accent
#e3e2e9gainsboro
#242424darkslategray
Accent foreground
#464158darkslategray
#bdbdbdsilver
Destructive
#d32203firebrick
#fc4b2ctomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#9b96abdarkgray
#9b96abdarkgray

Contrast

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

Light mode
Text on background20.22:1AAA
Text on card20.22:1AAA
Primary button7.06:1AAA
Secondary button7.55:1AAA
Muted text6.22:1AA
Accent7.55:1AAA
Destructive5.24:1AA
Dark mode
Text on background20.48:1AAA
Text on card20.48:1AAA
Primary button7.06:1AAA
Secondary button8.29:1AAA
Muted text7.93:1AAA
Accent8.29:1AAA
Destructive3.39:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.13 0.04 293.4);
  --muted: oklch(0.941 0.007 296.95);
  --muted-foreground: oklch(0.451 0.006 296.854);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.13 0.04 293.4);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.13 0.04 293.4);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.685 0.031 296.27);
  --primary-foreground: oklch(0.129 0.004 296.998);
  --secondary: oklch(0.915 0.01 296.874);
  --secondary-foreground: oklch(0.39 0.039 295.237);
  --accent: oklch(0.915 0.01 296.874);
  --accent-foreground: oklch(0.39 0.039 295.237);
  --destructive: oklch(0.557 0.212 31.507);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.685 0.031 296.27);
  --chart-1: oklch(0.685 0.031 296.27);
  --chart-2: oklch(0.915 0.01 296.874);
  --chart-3: oklch(0.915 0.01 296.874);
  --chart-4: oklch(0.941 0.007 296.94);
  --chart-5: oklch(0.679 0.039 296.034);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.992 0.001 297.064);
  --muted: oklch(0.176 0.008 17.981);
  --muted-foreground: oklch(0.73 0.004 17.248);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.992 0.001 297.064);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.992 0.001 297.064);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.685 0.031 296.27);
  --primary-foreground: oklch(0.129 0.004 296.998);
  --secondary: oklch(0.259 0 167.471);
  --secondary-foreground: oklch(0.797 0 180);
  --accent: oklch(0.259 0 167.471);
  --accent-foreground: oklch(0.797 0 180);
  --destructive: oklch(0.662 0.218 32.374);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.685 0.031 296.27);
  --chart-1: oklch(0.685 0.031 296.27);
  --chart-2: oklch(0.259 0 167.471);
  --chart-3: oklch(0.259 0 167.471);
  --chart-4: oklch(0.29 0 180);
  --chart-5: oklch(0.679 0.039 296.034);
}