Jacket for shadcn/ui

Jacket is a shadcn/ui theme built around a vivid light pink primary color (#fbdfef) with vivid light red accents (#fbdfe0). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light pink primary (#fbdfef) on a pink-tinted background (#0b0408).

Color palette

TokenLightDark
Background
#ffffffwhite
#0b0408black
Foreground
#040103black
#ffffffwhite
Card
#ffffffwhite
#0b0408black
Card foreground
#040103black
#ffffffwhite
Popover
#ffffffwhite
#0b0408black
Popover foreground
#040103black
#ffffffwhite
Primary
#fbdfefmistyrose
#fbdfefmistyrose
Primary foreground
#97115bpurple
#97115bpurple
Secondary
#fadffblavenderblush
#fadffblavenderblush
Secondary foreground
#911197darkmagenta
#911197darkmagenta
Muted
#ead6ebgainsboro
#281429black
Muted foreground
#6a626adimgray
#9d959ddarkgray
Accent
#fbdfe0mistyrose
#fbdfe0mistyrose
Accent foreground
#971118darkred
#971118darkred
Destructive
#cc1c0ffirebrick
#d51d10firebrick
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#fbdfefmistyrose
#fbdfefmistyrose

Contrast

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

Light mode
Text on background20.77:1AAA
Text on card20.77:1AAA
Primary button6.63:1AA
Secondary button6.22:1AA
Muted text4.28:1AA Large
Accent6.94:1AA
Destructive5.61:1AA
Dark mode
Text on background20.26:1AAA
Text on card20.26:1AAA
Primary button6.63:1AA
Secondary button6.22:1AA
Muted text5.90:1AA
Accent6.94:1AA
Destructive5.21:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.082 0.023 342.572);
  --muted: oklch(0.898 0.035 324.354);
  --muted-foreground: oklch(0.506 0.016 324.311);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.082 0.023 342.572);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.082 0.023 342.572);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.931 0.037 343.575);
  --primary-foreground: oklch(0.45 0.175 354.51);
  --secondary: oklch(0.934 0.048 324.421);
  --secondary-foreground: oklch(0.47 0.209 325.815);
  --accent: oklch(0.927 0.032 14.291);
  --accent-foreground: oklch(0.434 0.166 26.135);
  --destructive: oklch(0.54 0.208 29.718);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.931 0.037 343.575);
  --chart-1: oklch(0.931 0.037 343.575);
  --chart-2: oklch(0.934 0.048 324.421);
  --chart-3: oklch(0.927 0.032 14.291);
  --chart-4: oklch(0.962 0.027 324.292);
  --chart-5: oklch(0.931 0.039 343.611);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.019 342.707);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.229 0.048 325.214);
  --muted-foreground: oklch(0.679 0.015 324.256);
  --popover: oklch(0.124 0.019 342.707);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.124 0.019 342.707);
  --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.931 0.037 343.575);
  --primary-foreground: oklch(0.45 0.175 354.51);
  --secondary: oklch(0.934 0.048 324.421);
  --secondary-foreground: oklch(0.47 0.209 325.815);
  --accent: oklch(0.927 0.032 14.291);
  --accent-foreground: oklch(0.434 0.166 26.135);
  --destructive: oklch(0.559 0.216 29.724);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.931 0.037 343.575);
  --chart-1: oklch(0.931 0.037 343.575);
  --chart-2: oklch(0.934 0.048 324.421);
  --chart-3: oklch(0.927 0.032 14.291);
  --chart-4: oklch(0.962 0.027 324.292);
  --chart-5: oklch(0.931 0.039 343.611);
}