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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.33:1 | AAA |
| Text on card | 18.99:1 | AAA |
| Primary button | 8.27:1 | AAA |
| Secondary button | 5.95:1 | AA |
| Muted text | 6.03:1 | AA |
| Accent | 3.58:1 | AA Large |
| Destructive | 6.64:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 8.27:1 | AAA |
| Secondary button | 5.95:1 | AA |
| Muted text | 7.93:1 | AAA |
| Accent | 3.58:1 | AA Large |
| Destructive | 3.99:1 | AA Large |
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);
}