Empty for shadcn/ui

Empty is a shadcn/ui theme built around a red primary color (#942119) with teal accents (#198c94). The light mode uses a neutral background (#fdfcfc). Dark mode keeps the red primary (#942119) on a neutral background (#040101).

Color palette

TokenLightDark
Background
#fdfcfcsnow
#040101black
Foreground
#150605black
#ffffffwhite
Card
#fcf8f8snow
#080302black
Card foreground
#100504black
#ffffffwhite
Popover
#fcf8f8snow
#080302black
Popover foreground
#100504black
#ffffffwhite
Primary
#942119brown
#942119brown
Primary foreground
#fbe6e5mistyrose
#fbe6e5mistyrose
Secondary
#198c94darkcyan
#198c94darkcyan
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#daeaeclavender
#132425black
Muted foreground
#546c6ddimgray
#92a9abdarkgray
Accent
#198c94darkcyan
#198c94darkcyan
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#8a1c0fdarkred
#e6321eorangered
Destructive foreground
#fad5d1bisque
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#942119brown
#942119brown

Contrast

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

Light mode
Text on background19.31:1AAA
Text on card19.09:1AAA
Primary button7.02:1AAA
Secondary button4.01:1AA Large
Muted text4.54:1AA
Accent4.01:1AA Large
Destructive6.90:1AA
Dark mode
Text on background20.76:1AAA
Text on card20.53:1AAA
Primary button7.02:1AAA
Secondary button4.01:1AA Large
Muted text6.51:1AA
Accent4.01:1AA Large
Destructive4.33:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.002 22.234);
  --foreground: oklch(0.147 0.028 26.812);
  --muted: oklch(0.927 0.017 202.021);
  --muted-foreground: oklch(0.512 0.028 201.726);
  --popover: oklch(0.983 0.003 22.254);
  --popover-foreground: oklch(0.134 0.024 27.067);
  --card: oklch(0.983 0.003 22.254);
  --card-foreground: oklch(0.134 0.024 27.067);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.44 0.152 28.986);
  --primary-foreground: oklch(0.942 0.022 22.492);
  --secondary: oklch(0.585 0.094 202.554);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.585 0.094 202.554);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.414 0.147 30.454);
  --destructive-foreground: oklch(0.903 0.042 25.432);
  --ring: oklch(0.44 0.152 28.986);
  --chart-1: oklch(0.44 0.152 28.986);
  --chart-2: oklch(0.585 0.094 202.554);
  --chart-3: oklch(0.585 0.094 202.554);
  --chart-4: oklch(0.623 0.101 202.586);
  --chart-5: oklch(0.442 0.157 29.181);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.084 0.013 26.844);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.245 0.022 201.567);
  --muted-foreground: oklch(0.717 0.026 201.86);
  --popover: oklch(0.106 0.017 26.844);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.106 0.017 26.844);
  --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.44 0.152 28.986);
  --primary-foreground: oklch(0.942 0.022 22.492);
  --secondary: oklch(0.585 0.094 202.554);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.585 0.094 202.554);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.603 0.218 30.489);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.44 0.152 28.986);
  --chart-1: oklch(0.44 0.152 28.986);
  --chart-2: oklch(0.585 0.094 202.554);
  --chart-3: oklch(0.585 0.094 202.554);
  --chart-4: oklch(0.623 0.101 202.586);
  --chart-5: oklch(0.442 0.157 29.181);
}