Suit for shadcn/ui

Suit is a shadcn/ui theme built around a deep pink primary color (#28111f) with muted light pink accents (#e3d9df). The light mode uses a neutral background (#fbf8fa). Dark mode keeps the deep pink primary (#28111f) on a neutral background (#040103).

Color palette

TokenLightDark
Background
#fbf8fasnow
#040103black
Foreground
#15040fblack
#ffffffwhite
Card
#fbf8fasnow
#040103black
Card foreground
#15040fblack
#ffffffwhite
Popover
#fbf8fasnow
#040103black
Popover foreground
#15040fblack
#ffffffwhite
Primary
#28111fblack
#28111fblack
Primary foreground
#d397bcplum
#d397bcplum
Secondary
#e3d9dfgainsboro
#262626darkslategray
Secondary foreground
#4f3b47darkslategray
#bfbfbfsilver
Muted
#f0e0eamistyrose
#1f0f0fblack
Muted foreground
#4c3d47darkslategray
#c2b3b3silver
Accent
#e3d9dfgainsboro
#262626darkslategray
Accent foreground
#4f3b47darkslategray
#bfbfbfsilver
Destructive
#b01307firebrick
#f0190ared
Destructive foreground
#feedeblinen
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#28111fblack
#28111fblack

Contrast

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

Light mode
Text on background18.90:1AAA
Text on card18.90:1AAA
Primary button7.52:1AAA
Secondary button7.43:1AAA
Muted text8.01:1AAA
Accent7.43:1AAA
Destructive6.28:1AA
Dark mode
Text on background20.76:1AAA
Text on card20.76:1AAA
Primary button7.52:1AAA
Secondary button8.20:1AAA
Muted text9.17:1AAA
Accent8.20:1AAA
Destructive4.33:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.004 339.564);
  --foreground: oklch(0.147 0.038 343.288);
  --muted: oklch(0.922 0.022 339.984);
  --muted-foreground: oklch(0.381 0.026 340.904);
  --popover: oklch(0.983 0.004 339.564);
  --popover-foreground: oklch(0.147 0.038 343.288);
  --card: oklch(0.983 0.004 339.564);
  --card-foreground: oklch(0.147 0.038 343.288);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.216 0.044 343.685);
  --primary-foreground: oklch(0.745 0.087 341.893);
  --secondary: oklch(0.895 0.014 339.802);
  --secondary-foreground: oklch(0.378 0.035 341.419);
  --accent: oklch(0.895 0.014 339.802);
  --accent-foreground: oklch(0.378 0.035 341.419);
  --destructive: oklch(0.483 0.189 29.78);
  --destructive-foreground: oklch(0.959 0.019 22.446);
  --ring: oklch(0.216 0.044 343.685);
  --chart-1: oklch(0.216 0.044 343.685);
  --chart-2: oklch(0.895 0.014 339.802);
  --chart-3: oklch(0.895 0.014 339.802);
  --chart-4: oklch(0.919 0.01 339.717);
  --chart-5: oklch(0.216 0.047 343.987);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.085 0.017 339.671);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.191 0.027 19.914);
  --muted-foreground: oklch(0.778 0.017 17.532);
  --popover: oklch(0.085 0.017 339.671);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.085 0.017 339.671);
  --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.216 0.044 343.685);
  --primary-foreground: oklch(0.745 0.087 341.893);
  --secondary: oklch(0.27 0 180);
  --secondary-foreground: oklch(0.805 0 169.695);
  --accent: oklch(0.27 0 180);
  --accent-foreground: oklch(0.805 0 169.695);
  --destructive: oklch(0.606 0.24 29.752);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.216 0.044 343.685);
  --chart-1: oklch(0.216 0.044 343.685);
  --chart-2: oklch(0.27 0 180);
  --chart-3: oklch(0.27 0 180);
  --chart-4: oklch(0.301 0 189.462);
  --chart-5: oklch(0.216 0.047 343.987);
}