Seizure for shadcn/ui

Seizure is a shadcn/ui theme built around a vivid pink primary color (#f84fbd) with vivid blue accents (#4fbdf8). The light mode uses a neutral background (#fcf8fb). Dark mode keeps the vivid pink primary (#f84fbd) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcf8fbsnow
#000000black
Foreground
#040103black
#fdfcfdwhite
Card
#fbf4f8lavenderblush
#030303black
Card foreground
#000000black
#ffffffwhite
Popover
#fcf8fbsnow
#000000black
Popover foreground
#040103black
#fdfcfdwhite
Primary
#f84fbdhotpink
#f84fbdhotpink
Primary foreground
#14010dblack
#14010dblack
Secondary
#bdf84fgreenyellow
#bdf84fgreenyellow
Secondary foreground
#0d1401black
#0d1401black
Muted
#f1f4ecwhitesmoke
#10130bblack
Muted foreground
#424242darkslategray
#bdbdbdsilver
Accent
#4fbdf8cornflowerblue
#4fbdf8cornflowerblue
Accent foreground
#010d14black
#010d14black
Destructive
#7e2301maroon
#e84002orangered
Destructive foreground
#fec7b3peachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f84fbdhotpink
#f84fbdhotpink

Contrast

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

Light mode
Text on background19.71:1AAA
Text on card19.40:1AAA
Primary button6.55:1AA
Secondary button14.89:1AAA
Muted text9.01:1AAA
Accent9.28:1AAA
Destructive6.59:1AA
Dark mode
Text on background20.51:1AAA
Text on card20.67:1AAA
Primary button6.55:1AA
Secondary button14.89:1AAA
Muted text9.96:1AAA
Accent9.28:1AAA
Destructive4.06:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.006 338.108);
  --foreground: oklch(0.082 0.025 338.454);
  --muted: oklch(0.962 0.01 122.385);
  --muted-foreground: oklch(0.38 0 180);
  --popover: oklch(0.982 0.006 338.108);
  --popover-foreground: oklch(0.082 0.025 338.454);
  --card: oklch(0.974 0.009 338.172);
  --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.693 0.23 344.867);
  --primary-foreground: oklch(0.131 0.051 341.381);
  --secondary: oklch(0.907 0.202 126.863);
  --secondary-foreground: oklch(0.176 0.041 124.039);
  --accent: oklch(0.758 0.13 235.824);
  --accent-foreground: oklch(0.149 0.026 227.359);
  --destructive: oklch(0.398 0.132 37.143);
  --destructive-foreground: oklch(0.874 0.069 40.907);
  --ring: oklch(0.693 0.23 344.867);
  --chart-1: oklch(0.693 0.23 344.867);
  --chart-2: oklch(0.907 0.202 126.863);
  --chart-3: oklch(0.758 0.13 235.824);
  --chart-4: oklch(0.913 0.19 126.335);
  --chart-5: oklch(0.695 0.236 345.086);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.992 0.001 338.01);
  --muted: oklch(0.181 0.016 123.61);
  --muted-foreground: oklch(0.797 0 180);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.992 0.001 338.01);
  --card: oklch(0.092 0 180);
  --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.693 0.23 344.867);
  --primary-foreground: oklch(0.131 0.051 341.381);
  --secondary: oklch(0.907 0.202 126.863);
  --secondary-foreground: oklch(0.176 0.041 124.039);
  --accent: oklch(0.758 0.13 235.824);
  --accent-foreground: oklch(0.149 0.026 227.359);
  --destructive: oklch(0.617 0.212 35.587);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.693 0.23 344.867);
  --chart-1: oklch(0.693 0.23 344.867);
  --chart-2: oklch(0.907 0.202 126.863);
  --chart-3: oklch(0.758 0.13 235.824);
  --chart-4: oklch(0.913 0.19 126.335);
  --chart-5: oklch(0.695 0.236 345.086);
}