Skinny for shadcn/ui

Skinny is a shadcn/ui theme built around a muted light red primary color (#f6f3f3) with muted light indigo accents (#f3f3f6). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light red primary (#f6f3f3) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#040101black
#fcf8f8snow
Card
#fcfcfcsnow
#030303black
Card foreground
#000000black
#fdfcfcsnow
Popover
#fcfcfcsnow
#030303black
Popover foreground
#000000black
#fdfcfcsnow
Primary
#f6f3f3whitesmoke
#f6f3f3whitesmoke
Primary foreground
#69504fdimgray
#69504fdimgray
Secondary
#f3f6f3whitesmoke
#f3f6f3whitesmoke
Secondary foreground
#232f23darkslategray
#232f23darkslategray
Muted
#edf7eehoneydew
#081208black
Muted foreground
#435644darkslategray
#a9bcaadarkgray
Accent
#f3f3f6whitesmoke
#f3f3f6whitesmoke
Accent foreground
#504f69dimgray
#504f69dimgray
Destructive
#681a08maroon
#ef5e3etomato
Destructive foreground
#f8b8aalightpink
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f6f3f3whitesmoke
#f6f3f3whitesmoke

Contrast

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

Light mode
Text on background20.79:1AAA
Text on card20.54:1AAA
Primary button6.67:1AA
Secondary button12.86:1AAA
Muted text7.22:1AAA
Accent7.14:1AAA
Destructive7.15:1AAA
Dark mode
Text on background19.92:1AAA
Text on card20.19:1AAA
Primary button6.67:1AA
Secondary button12.86:1AAA
Muted text9.52:1AAA
Accent7.14:1AAA
Destructive6.35:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.082 0.015 24.265);
  --muted: oklch(0.967 0.016 146.396);
  --muted-foreground: oklch(0.431 0.037 145.762);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --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.968 0.003 19.648);
  --primary-foreground: oklch(0.456 0.034 20.749);
  --secondary: oklch(0.971 0.005 146.499);
  --secondary-foreground: oklch(0.289 0.025 145.741);
  --accent: oklch(0.966 0.004 287.867);
  --accent-foreground: oklch(0.439 0.042 286.054);
  --destructive: oklch(0.346 0.114 33.802);
  --destructive-foreground: oklch(0.839 0.077 32.98);
  --ring: oklch(0.968 0.003 19.648);
  --chart-1: oklch(0.968 0.003 19.648);
  --chart-2: oklch(0.971 0.005 146.499);
  --chart-3: oklch(0.966 0.004 287.867);
  --chart-4: oklch(0.993 0.001 146.531);
  --chart-5: oklch(0.967 0.004 19.657);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.983 0.003 19.655);
  --muted: oklch(0.167 0.024 145.248);
  --muted-foreground: oklch(0.775 0.032 146.174);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(0.991 0.002 19.63);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.991 0.002 19.63);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.968 0.003 19.648);
  --primary-foreground: oklch(0.456 0.034 20.749);
  --secondary: oklch(0.971 0.005 146.499);
  --secondary-foreground: oklch(0.289 0.025 145.741);
  --accent: oklch(0.966 0.004 287.867);
  --accent-foreground: oklch(0.439 0.042 286.054);
  --destructive: oklch(0.665 0.186 34.152);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.968 0.003 19.648);
  --chart-1: oklch(0.968 0.003 19.648);
  --chart-2: oklch(0.971 0.005 146.499);
  --chart-3: oklch(0.966 0.004 287.867);
  --chart-4: oklch(0.993 0.001 146.531);
  --chart-5: oklch(0.967 0.004 19.657);
}