Slippery Nana is a shadcn/ui theme built around a muted purple primary color (#a08ea4) with muted teal accents (#8ea4a0). The light mode uses a neutral background (#fbf8fc). Dark mode keeps the muted purple primary (#a08ea4) on a purple-tinted background (#09050b).
| Token | Light | Dark |
|---|---|---|
| Background | #fbf8fcghostwhite | #09050bblack |
| Foreground | #070209black | #ffffffwhite |
| Card | #f9f4fbghostwhite | #0d060eblack |
| Card foreground | #040104black | #ffffffwhite |
| Popover | #fbf8fcghostwhite | #09050bblack |
| Popover foreground | #070209black | #ffffffwhite |
| Primary | #a08ea4darkgray | #a08ea4darkgray |
| Primary foreground | #000000black | #000000black |
| Secondary | #a4a08edarkgray | #a4a08edarkgray |
| Secondary foreground | #000000black | #000000black |
| Muted | #f2f0e8linen | #17150dblack |
| Muted foreground | #555349darkolivegreen | #b6b4aadarkgray |
| Accent | #8ea4a0darkgray | #8ea4a0darkgray |
| Accent foreground | #000000black | #000000black |
| Destructive | #842d0bsaddlebrown | #ec5418chocolate |
| Destructive foreground | #fad5c6peachpuff | #ffffffwhite |
| Border | #e6e5e6gainsboro | #272527darkslategray |
| Input | #e6e5e6gainsboro | #272527darkslategray |
| Ring | #a08ea4darkgray | #a08ea4darkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.47:1 | AAA |
| Text on card | 19.14:1 | AAA |
| Primary button | 6.88:1 | AA |
| Secondary button | 7.98:1 | AAA |
| Muted text | 6.78:1 | AA |
| Accent | 7.97:1 | AAA |
| Destructive | 6.51:1 | AA |
| Text on background | 20.24:1 | AAA |
| Text on card | 19.99:1 | AAA |
| Primary button | 6.88:1 | AA |
| Secondary button | 7.98:1 | AAA |
| Muted text | 8.78:1 | AAA |
| Accent | 7.97:1 | AAA |
| Destructive | 3.58:1 | AA Large |
Paste this into your globals.css to use Slippery Nana in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.007 319.446);
--foreground: oklch(0.103 0.031 321.843);
--muted: oklch(0.955 0.011 95.17);
--muted-foreground: oklch(0.441 0.016 95.431);
--popover: oklch(0.982 0.007 319.446);
--popover-foreground: oklch(0.103 0.031 321.843);
--card: oklch(0.973 0.011 319.447);
--card-foreground: oklch(0.082 0.024 321.843);
--border: oklch(0.922 0.002 319.445);
--input: oklch(0.922 0.002 319.445);
--primary: oklch(0.669 0.039 319.459);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.704 0.026 95.427);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.701 0.026 182.142);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.422 0.127 38.961);
--destructive-foreground: oklch(0.901 0.047 42.752);
--ring: oklch(0.669 0.039 319.459);
--chart-1: oklch(0.669 0.039 319.459);
--chart-2: oklch(0.704 0.026 95.427);
--chart-3: oklch(0.701 0.026 182.142);
--chart-4: oklch(0.727 0.024 95.389);
--chart-5: oklch(0.666 0.049 319.462);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.018 320.67);
--foreground: oklch(1 0 180);
--muted: oklch(0.195 0.016 95.739);
--muted-foreground: oklch(0.768 0.014 95.247);
--popover: oklch(0.125 0.018 320.67);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.138 0.021 319.92);
--card-foreground: oklch(1 0 180);
--border: oklch(0.268 0.005 319.449);
--input: oklch(0.268 0.005 319.449);
--primary: oklch(0.669 0.039 319.459);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.704 0.026 95.427);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.701 0.026 182.142);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.645 0.198 38.565);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.669 0.039 319.459);
--chart-1: oklch(0.669 0.039 319.459);
--chart-2: oklch(0.704 0.026 95.427);
--chart-3: oklch(0.701 0.026 182.142);
--chart-4: oklch(0.727 0.024 95.389);
--chart-5: oklch(0.666 0.049 319.462);
}