Paw for shadcn/ui

Paw is a shadcn/ui theme built around a vivid violet primary color (#4f029c) with vivid teal accents (#029c4f). The light mode uses a neutral background (#faf7fd). Dark mode keeps the vivid violet primary (#4f029c) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#faf7fdghostwhite
#000000black
Foreground
#050308black
#ffffffwhite
Card
#f7f3fcghostwhite
#030303black
Card foreground
#030104black
#ffffffwhite
Popover
#faf7fdghostwhite
#000000black
Popover foreground
#050308black
#ffffffwhite
Primary
#4f029cindigo
#4f029cindigo
Primary foreground
#e8d2felavender
#e8d2felavender
Secondary
#9c4f02saddlebrown
#9c4f02saddlebrown
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#f3f0eclinen
#130f0cblack
Muted foreground
#615951dimgray
#aea69edarkgray
Accent
#029c4fseagreen
#029c4fseagreen
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#810a03maroon
#f92115red
Destructive foreground
#fdbdb9lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#4f029cindigo
#4f029cindigo

Contrast

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

Light mode
Text on background19.33:1AAA
Text on card18.99:1AAA
Primary button8.27:1AAA
Secondary button5.95:1AA
Muted text6.03:1AA
Accent3.58:1AA Large
Destructive6.64:1AA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button8.27:1AAA
Secondary button5.95:1AA
Muted text7.93:1AAA
Accent3.58:1AA Large
Destructive3.99: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.98 0.008 308.367);
  --foreground: oklch(0.104 0.02 309.836);
  --muted: oklch(0.956 0.006 67.755);
  --muted-foreground: oklch(0.47 0.016 67.41);
  --popover: oklch(0.98 0.008 308.367);
  --popover-foreground: oklch(0.104 0.02 309.836);
  --card: oklch(0.97 0.012 308.318);
  --card-foreground: oklch(0.082 0.016 309.836);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.372 0.202 295.599);
  --primary-foreground: oklch(0.895 0.065 307.662);
  --secondary: oklch(0.512 0.126 55.012);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.606 0.159 152.035);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.384 0.151 29.747);
  --destructive-foreground: oklch(0.856 0.075 22.18);
  --ring: oklch(0.372 0.202 295.599);
  --chart-1: oklch(0.372 0.202 295.599);
  --chart-2: oklch(0.512 0.126 55.012);
  --chart-3: oklch(0.606 0.159 152.035);
  --chart-4: oklch(0.547 0.135 54.654);
  --chart-5: oklch(0.374 0.205 295.062);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.173 0.009 67.186);
  --muted-foreground: oklch(0.729 0.015 67.593);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --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.372 0.202 295.599);
  --primary-foreground: oklch(0.895 0.065 307.662);
  --secondary: oklch(0.512 0.126 55.012);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.606 0.159 152.035);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.626 0.244 29.386);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.372 0.202 295.599);
  --chart-1: oklch(0.372 0.202 295.599);
  --chart-2: oklch(0.512 0.126 55.012);
  --chart-3: oklch(0.606 0.159 152.035);
  --chart-4: oklch(0.547 0.135 54.654);
  --chart-5: oklch(0.374 0.205 295.062);
}