White Grape Pinniped is a shadcn/ui theme built around a green primary color (#bbcd9d) with green accents (#a2cd9d). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#bbcd9d) on a green-tinted background (#0b0f05).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0b0f05black |
| Foreground | #0f1405black | #fafbf9snow |
| Card | #ffffffwhite | #0b0f05black |
| Card foreground | #0f1405black | #fafbf9snow |
| Popover | #ffffffwhite | #0b0f05black |
| Popover foreground | #0f1405black | #fafbf9snow |
| Primary | #bbcd9dsilver | #bbcd9dsilver |
| Primary foreground | #1e2513black | #1e2513black |
| Secondary | #cdc89dtan | #cdc89dtan |
| Secondary foreground | #252313black | #252313black |
| Muted | #f4f3eblinen | #14130bblack |
| Muted foreground | #5a5a58dimgray | #a7a6a5darkgray |
| Accent | #a2cd9ddarkseagreen | #a2cd9ddarkseagreen |
| Accent foreground | #152513black | #152513black |
| Destructive | #772d09saddlebrown | #ef6f2etomato |
| Destructive foreground | #faceb8peachpuff | #000000black |
| Border | #e9ebe5linen | #20231ablack |
| Input | #e9ebe5linen | #20231ablack |
| Ring | #bbcd9dsilver | #bbcd9dsilver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.70:1 | AAA |
| Text on card | 18.70:1 | AAA |
| Primary button | 9.30:1 | AAA |
| Secondary button | 9.28:1 | AAA |
| Muted text | 6.21:1 | AA |
| Accent | 9.03:1 | AAA |
| Destructive | 6.73:1 | AA |
| Text on background | 18.62:1 | AAA |
| Text on card | 18.62:1 | AAA |
| Primary button | 9.30:1 | AAA |
| Secondary button | 9.28:1 | AAA |
| Muted text | 7.68:1 | AAA |
| Accent | 9.03:1 | AAA |
| Destructive | 6.97:1 | AA |
Paste this into your globals.css to use White Grape Pinniped in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.181 0.031 125.729);
--muted: oklch(0.963 0.01 100.495);
--muted-foreground: oklch(0.467 0.003 100.413);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.181 0.031 125.729);
--card: oklch(1 0 180);
--card-foreground: oklch(0.181 0.031 125.729);
--border: oklch(0.938 0.01 123.791);
--input: oklch(0.938 0.01 123.791);
--primary: oklch(0.823 0.069 124.927);
--primary-foreground: oklch(0.253 0.034 125.832);
--secondary: oklch(0.826 0.058 101.286);
--secondary-foreground: oklch(0.254 0.028 101.688);
--accent: oklch(0.806 0.081 141.764);
--accent-foreground: oklch(0.245 0.041 141.559);
--destructive: oklch(0.399 0.112 42.519);
--destructive-foreground: oklch(0.883 0.058 48.043);
--ring: oklch(0.823 0.069 124.927);
--chart-1: oklch(0.823 0.069 124.927);
--chart-2: oklch(0.826 0.058 101.286);
--chart-3: oklch(0.806 0.081 141.764);
--chart-4: oklch(0.844 0.052 101.184);
--chart-5: oklch(0.828 0.075 125.037);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.161 0.022 124.614);
--foreground: oklch(0.986 0.002 123.665);
--muted: oklch(0.184 0.015 101.423);
--muted-foreground: oklch(0.726 0.002 100.378);
--popover: oklch(0.161 0.022 124.614);
--popover-foreground: oklch(0.986 0.002 123.665);
--card: oklch(0.161 0.022 124.614);
--card-foreground: oklch(0.986 0.002 123.665);
--border: oklch(0.25 0.018 124.707);
--input: oklch(0.25 0.018 124.707);
--primary: oklch(0.823 0.069 124.927);
--primary-foreground: oklch(0.253 0.034 125.832);
--secondary: oklch(0.826 0.058 101.286);
--secondary-foreground: oklch(0.254 0.028 101.688);
--accent: oklch(0.806 0.081 141.764);
--accent-foreground: oklch(0.245 0.041 141.559);
--destructive: oklch(0.686 0.175 44.013);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.823 0.069 124.927);
--chart-1: oklch(0.823 0.069 124.927);
--chart-2: oklch(0.826 0.058 101.286);
--chart-3: oklch(0.806 0.081 141.764);
--chart-4: oklch(0.844 0.052 101.184);
--chart-5: oklch(0.828 0.075 125.037);
}