Mini-skirt for shadcn/ui

Mini-skirt is a shadcn/ui theme built around a muted deep red primary color (#251819) with muted deep blue accents (#181925). The light mode uses a neutral background (#fdf7f8). Dark mode keeps the muted deep red primary (#251819) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fdf7f8snow
#000000black
Foreground
#040101black
#fbf9f9snow
Card
#fcf3f4lavenderblush
#030303black
Card foreground
#000000black
#fdfcfcsnow
Popover
#fdf7f8snow
#000000black
Popover foreground
#040101black
#fbf9f9snow
Primary
#251819black
#251819black
Primary foreground
#c7a9acdarkgray
#c7a9acdarkgray
Secondary
#192518black
#192518black
Secondary foreground
#acc7a9darkgray
#acc7a9darkgray
Muted
#eef2eewhitesmoke
#0e110dblack
Muted foreground
#4a6148darkolivegreen
#a1b79edarkgray
Accent
#181925black
#181925black
Accent foreground
#a9acc7darkgray
#a9acc7darkgray
Destructive
#d82a03orangered
#e22c03orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#251819black
#251819black

Contrast

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

Light mode
Text on background19.62:1AAA
Text on card19.25:1AAA
Primary button7.91:1AAA
Secondary button8.70:1AAA
Muted text5.98:1AA
Accent7.78:1AAA
Destructive4.93:1AA
Dark mode
Text on background20.02:1AAA
Text on card20.19:1AAA
Primary button7.91:1AAA
Secondary button8.70:1AAA
Muted text8.84:1AAA
Accent7.78:1AAA
Destructive4.56:1AA

CSS variables

Paste this into your globals.css to use Mini-skirt in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.006 10.223);
  --foreground: oklch(0.08 0.019 12.193);
  --muted: oklch(0.956 0.006 142.599);
  --muted-foreground: oklch(0.466 0.049 142.198);
  --popover: oklch(0.981 0.006 10.223);
  --popover-foreground: oklch(0.08 0.019 12.193);
  --card: oklch(0.971 0.009 10.299);
  --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.227 0.021 12.202);
  --primary-foreground: oklch(0.761 0.035 11.134);
  --secondary: oklch(0.249 0.029 142.152);
  --secondary-foreground: oklch(0.8 0.051 142.366);
  --accent: oklch(0.22 0.023 279.421);
  --accent-foreground: oklch(0.75 0.039 280.404);
  --destructive: oklch(0.571 0.212 32.46);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.227 0.021 12.202);
  --chart-1: oklch(0.227 0.021 12.202);
  --chart-2: oklch(0.249 0.029 142.152);
  --chart-3: oklch(0.22 0.023 279.421);
  --chart-4: oklch(0.284 0.035 142.123);
  --chart-5: oklch(0.226 0.024 12.548);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.984 0.002 10.12);
  --muted: oklch(0.173 0.01 142.393);
  --muted-foreground: oklch(0.757 0.043 142.391);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.984 0.002 10.12);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.992 0.001 10.099);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.227 0.021 12.202);
  --primary-foreground: oklch(0.761 0.035 11.134);
  --secondary: oklch(0.249 0.029 142.152);
  --secondary-foreground: oklch(0.8 0.051 142.366);
  --accent: oklch(0.22 0.023 279.421);
  --accent-foreground: oklch(0.75 0.039 280.404);
  --destructive: oklch(0.59 0.22 32.403);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.227 0.021 12.202);
  --chart-1: oklch(0.227 0.021 12.202);
  --chart-2: oklch(0.249 0.029 142.152);
  --chart-3: oklch(0.22 0.023 279.421);
  --chart-4: oklch(0.284 0.035 142.123);
  --chart-5: oklch(0.226 0.024 12.548);
}