Deployment for shadcn/ui

Deployment is a shadcn/ui theme built around a deep purple primary color (#43143d) with deep pink accents (#431426). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep purple primary (#43143d) on a purple-tinted background (#10040f).

Color palette

TokenLightDark
Background
#ffffffwhite
#10040fblack
Foreground
#10050eblack
#f9f6f9whitesmoke
Card
#fcfcfcsnow
#140512black
Card foreground
#0c040bblack
#fbf9fbsnow
Popover
#fcfcfcsnow
#140512black
Popover foreground
#0c040bblack
#fbf9fbsnow
Primary
#43143ddarkslategray
#43143ddarkslategray
Primary foreground
#e4a5ddplum
#e4a5ddplum
Secondary
#311443midnightblue
#311443midnightblue
Secondary foreground
#cca5e4plum
#cca5e4plum
Muted
#e1d1eagainsboro
#24152eblack
Muted foreground
#4d4a4fdarkslategray
#b3b0b5darkgray
Accent
#431426darkslategray
#431426darkslategray
Accent foreground
#e4a5bdlightpink
#e4a5bdlightpink
Destructive
#7d1b03maroon
#fa3a0aorangered
Destructive foreground
#fdc3b4lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#43143ddarkslategray
#43143ddarkslategray

Contrast

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

Light mode
Text on background19.99:1AAA
Text on card19.79:1AAA
Primary button7.63:1AAA
Secondary button7.68:1AAA
Muted text6.03:1AA
Accent7.63:1AAA
Destructive6.72:1AA
Dark mode
Text on background18.68:1AAA
Text on card18.86:1AAA
Primary button7.63:1AAA
Secondary button7.68:1AAA
Muted text8.03:1AAA
Accent7.63:1AAA
Destructive3.69:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.138 0.031 331.037);
  --muted: oklch(0.882 0.038 312.693);
  --muted-foreground: oklch(0.414 0.008 312.848);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.124 0.027 330.521);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.124 0.027 330.521);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.284 0.092 332.58);
  --primary-foreground: oklch(0.798 0.104 330.562);
  --secondary: oklch(0.26 0.088 310.084);
  --secondary-foreground: oklch(0.778 0.098 312.124);
  --accent: oklch(0.273 0.075 359.553);
  --accent-foreground: oklch(0.788 0.081 354.353);
  --destructive: oklch(0.388 0.136 34.096);
  --destructive-foreground: oklch(0.865 0.071 34.441);
  --ring: oklch(0.284 0.092 332.58);
  --chart-1: oklch(0.284 0.092 332.58);
  --chart-2: oklch(0.26 0.088 310.084);
  --chart-3: oklch(0.273 0.075 359.553);
  --chart-4: oklch(0.287 0.1 309.926);
  --chart-5: oklch(0.286 0.096 332.728);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.138 0.032 331.137);
  --foreground: oklch(0.975 0.006 329.199);
  --muted: oklch(0.228 0.051 311.323);
  --muted-foreground: oklch(0.762 0.007 312.921);
  --popover: oklch(0.151 0.037 331.493);
  --popover-foreground: oklch(0.984 0.004 329.176);
  --card: oklch(0.151 0.037 331.493);
  --card-foreground: oklch(0.984 0.004 329.176);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.284 0.092 332.58);
  --primary-foreground: oklch(0.798 0.104 330.562);
  --secondary: oklch(0.26 0.088 310.084);
  --secondary-foreground: oklch(0.778 0.098 312.124);
  --accent: oklch(0.273 0.075 359.553);
  --accent-foreground: oklch(0.788 0.081 354.353);
  --destructive: oklch(0.643 0.232 33.22);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.284 0.092 332.58);
  --chart-1: oklch(0.284 0.092 332.58);
  --chart-2: oklch(0.26 0.088 310.084);
  --chart-3: oklch(0.273 0.075 359.553);
  --chart-4: oklch(0.287 0.1 309.926);
  --chart-5: oklch(0.286 0.096 332.728);
}