Paw for shadcn/ui

Paw is a shadcn/ui theme built around a vivid purple primary color (#ca16a9) with vivid cyan accents (#16a9ca). The light mode uses a neutral background (#fdfcfd). Dark mode keeps the vivid purple primary (#ca16a9) on a purple-tinted background (#0c030b).

Color palette

TokenLightDark
Background
#fdfcfdwhite
#0c030bblack
Foreground
#080207black
#ffffffwhite
Card
#fdfcfdwhite
#0c030bblack
Card foreground
#080207black
#ffffffwhite
Popover
#fdfcfdwhite
#0c030bblack
Popover foreground
#080207black
#ffffffwhite
Primary
#ca16a9mediumvioletred
#ca16a9mediumvioletred
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#a9ca16yellowgreen
#a9ca16yellowgreen
Secondary foreground
#0f1202black
#0f1202black
Muted
#ebece4beige
#1a1b13black
Muted foreground
#474747darkslategray
#b8b8b8silver
Accent
#16a9calightseagreen
#16a9calightseagreen
Accent foreground
#020f12black
#020f12black
Destructive
#941e00darkred
#f53100orangered
Destructive foreground
#ffd2c7peachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ca16a9mediumvioletred
#ca16a9mediumvioletred

Contrast

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

Light mode
Text on background20.03:1AAA
Text on card20.03:1AAA
Primary button4.99:1AA
Secondary button10.06:1AAA
Muted text7.81:1AAA
Accent7.00:1AAA
Destructive6.27:1AA
Dark mode
Text on background20.30:1AAA
Text on card20.30:1AAA
Primary button4.99:1AA
Secondary button10.06:1AAA
Muted text8.75:1AAA
Accent7.00:1AAA
Destructive3.95:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.003 331.448);
  --foreground: oklch(0.108 0.022 332.327);
  --muted: oklch(0.94 0.011 115.042);
  --muted-foreground: oklch(0.399 0 180);
  --popover: oklch(0.991 0.003 331.448);
  --popover-foreground: oklch(0.108 0.022 332.327);
  --card: oklch(0.991 0.003 331.448);
  --card-foreground: oklch(0.108 0.022 332.327);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.575 0.242 337.965);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.787 0.184 120.931);
  --secondary-foreground: oklch(0.175 0.034 117.402);
  --accent: oklch(0.68 0.119 218.927);
  --accent-foreground: oklch(0.158 0.023 211.358);
  --destructive: oklch(0.434 0.158 33.641);
  --destructive-foreground: oklch(0.9 0.053 34.358);
  --ring: oklch(0.575 0.242 337.965);
  --chart-1: oklch(0.575 0.242 337.965);
  --chart-2: oklch(0.787 0.184 120.931);
  --chart-3: oklch(0.68 0.119 218.927);
  --chart-4: oklch(0.827 0.194 120.964);
  --chart-5: oklch(0.581 0.247 338.156);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.123 0.029 332.803);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.218 0.016 116.156);
  --muted-foreground: oklch(0.781 0 180);
  --popover: oklch(0.123 0.029 332.803);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.123 0.029 332.803);
  --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.575 0.242 337.965);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.787 0.184 120.931);
  --secondary-foreground: oklch(0.175 0.034 117.402);
  --accent: oklch(0.68 0.119 218.927);
  --accent-foreground: oklch(0.158 0.023 211.358);
  --destructive: oklch(0.627 0.233 32.672);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.575 0.242 337.965);
  --chart-1: oklch(0.575 0.242 337.965);
  --chart-2: oklch(0.787 0.184 120.931);
  --chart-3: oklch(0.68 0.119 218.927);
  --chart-4: oklch(0.827 0.194 120.964);
  --chart-5: oklch(0.581 0.247 338.156);
}