Eggplant Tint Pinniped is a shadcn/ui theme built around a violet primary color (#521692) with green accents (#569216). The light mode uses a violet-tinted background (#e4e1e7). Dark mode keeps the violet primary (#521692) on a neutral background (#060606).
| Token | Light | Dark |
|---|---|---|
| Background | #e4e1e7gainsboro | #060606black |
| Foreground | #000000black | #ffffffwhite |
| Card | #faf6fdghostwhite | #000000black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #faf6fdghostwhite | #000000black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #521692indigo | #521692indigo |
| Primary foreground | #ede0falavender | #ede0falavender |
| Secondary | #569216olivedrab | #569216olivedrab |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #dbdfd7gainsboro | #242820darkslategray |
| Muted foreground | #42463fdarkslategray | #bdc0b9silver |
| Accent | #569216olivedrab | #569216olivedrab |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #8d0a07darkred | #f32420crimson |
| Destructive foreground | #fccbcapink | #ffffffwhite |
| Border | #e8e8e9lavender | #19191ablack |
| Input | #e8e8e9lavender | #19191ablack |
| Ring | #521692indigo | #521692indigo |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 16.27:1 | AAA |
| Text on card | 19.70:1 | AAA |
| Primary button | 8.80:1 | AAA |
| Secondary button | 3.78:1 | AA Large |
| Muted text | 7.15:1 | AAA |
| Accent | 3.78:1 | AA Large |
| Destructive | 6.70:1 | AA |
| Text on background | 20.27:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 8.80:1 | AAA |
| Secondary button | 3.78:1 | AA Large |
| Muted text | 8.18:1 | AAA |
| Accent | 3.78:1 | AA Large |
| Destructive | 4.12:1 | AA Large |
Paste this into your globals.css to use Eggplant Tint Pinniped in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.915 0.009 307.677);
--foreground: oklch(0 0 0);
--muted: oklch(0.899 0.011 127.937);
--muted-foreground: oklch(0.387 0.012 128.149);
--popover: oklch(0.979 0.01 307.669);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.979 0.01 307.669);
--card-foreground: oklch(0 0 0);
--border: oklch(0.93 0.001 307.773);
--input: oklch(0.93 0.001 307.773);
--primary: oklch(0.378 0.182 298.618);
--primary-foreground: oklch(0.925 0.038 307.312);
--secondary: oklch(0.597 0.161 133.2);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.597 0.161 133.2);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.407 0.161 28.828);
--destructive-foreground: oklch(0.884 0.057 19.414);
--ring: oklch(0.378 0.182 298.618);
--chart-1: oklch(0.378 0.182 298.618);
--chart-2: oklch(0.597 0.161 133.2);
--chart-3: oklch(0.597 0.161 133.2);
--chart-4: oklch(0.636 0.172 133.267);
--chart-5: oklch(0.378 0.187 298.047);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.121 0 171.254);
--foreground: oklch(1 0 180);
--muted: oklch(0.269 0.015 128.47);
--muted-foreground: oklch(0.803 0.01 127.933);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0 0 0);
--card-foreground: oklch(1 0 180);
--border: oklch(0.214 0.002 307.674);
--input: oklch(0.214 0.002 307.674);
--primary: oklch(0.378 0.182 298.618);
--primary-foreground: oklch(0.925 0.038 307.312);
--secondary: oklch(0.597 0.161 133.2);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.597 0.161 133.2);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.618 0.237 28.343);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.378 0.182 298.618);
--chart-1: oklch(0.378 0.182 298.618);
--chart-2: oklch(0.597 0.161 133.2);
--chart-3: oklch(0.597 0.161 133.2);
--chart-4: oklch(0.636 0.172 133.267);
--chart-5: oklch(0.378 0.187 298.047);
}