Wildlife is a shadcn/ui theme built around a vivid pink primary color (#f26ec6) with vivid blue accents (#6ec6f2). The light mode uses a neutral background (#fdfcfd). Dark mode keeps the vivid pink primary (#f26ec6) on a pink-tinted background (#0e060c).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfdwhite | #0e060cblack |
| Foreground | #12030dblack | #fdfcfdwhite |
| Card | #fdfcfdwhite | #0e060cblack |
| Card foreground | #12030dblack | #fdfcfdwhite |
| Popover | #fdfcfdwhite | #0e060cblack |
| Popover foreground | #12030dblack | #fdfcfdwhite |
| Primary | #f26ec6hotpink | #f26ec6hotpink |
| Primary foreground | #2a041dblack | #2a041dblack |
| Secondary | #c6f26ekhaki | #c6f26ekhaki |
| Secondary foreground | #1d2a04black | #1d2a04black |
| Muted | #e0eacdgainsboro | #283215darkslategray |
| Muted foreground | #676864dimgray | #9a9b97darkgray |
| Accent | #6ec6f2skyblue | #6ec6f2skyblue |
| Accent foreground | #041d2ablack | #041d2ablack |
| Destructive | #b22d01firebrick | #f43e01orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f26ec6hotpink | #f26ec6hotpink |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.60:1 | AAA |
| Text on card | 19.60:1 | AAA |
| Primary button | 6.89:1 | AA |
| Secondary button | 11.74:1 | AAA |
| Muted text | 4.48:1 | AA Large |
| Accent | 9.06:1 | AAA |
| Destructive | 6.44:1 | AA |
| Text on background | 19.52:1 | AAA |
| Text on card | 19.52:1 | AAA |
| Primary button | 6.89:1 | AA |
| Secondary button | 11.74:1 | AAA |
| Muted text | 4.81:1 | AA |
| Accent | 9.06:1 | AAA |
| Destructive | 3.80:1 | AA Large |
Paste this into your globals.css to use Wildlife in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.002 337.309);
--foreground: oklch(0.134 0.039 340.079);
--muted: oklch(0.921 0.039 122.185);
--muted-foreground: oklch(0.515 0.007 121.697);
--popover: oklch(0.992 0.002 337.309);
--popover-foreground: oklch(0.134 0.039 340.079);
--card: oklch(0.992 0.002 337.309);
--card-foreground: oklch(0.134 0.039 340.079);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.723 0.188 342.172);
--primary-foreground: oklch(0.198 0.072 344.124);
--secondary: oklch(0.902 0.166 124.978);
--secondary-foreground: oklch(0.264 0.062 126.242);
--accent: oklch(0.788 0.105 231.953);
--accent-foreground: oklch(0.219 0.04 233.56);
--destructive: oklch(0.503 0.175 35.282);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.723 0.188 342.172);
--chart-1: oklch(0.723 0.188 342.172);
--chart-2: oklch(0.902 0.166 124.978);
--chart-3: oklch(0.788 0.105 231.953);
--chart-4: oklch(0.911 0.152 124.557);
--chart-5: oklch(0.724 0.194 342.342);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.02 338.922);
--foreground: oklch(0.992 0.002 337.302);
--muted: oklch(0.3 0.049 124.438);
--muted-foreground: oklch(0.687 0.006 121.635);
--popover: oklch(0.139 0.02 338.922);
--popover-foreground: oklch(0.992 0.002 337.302);
--card: oklch(0.139 0.02 338.922);
--card-foreground: oklch(0.992 0.002 337.302);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.723 0.188 342.172);
--primary-foreground: oklch(0.198 0.072 344.124);
--secondary: oklch(0.902 0.166 124.978);
--secondary-foreground: oklch(0.264 0.062 126.242);
--accent: oklch(0.788 0.105 231.953);
--accent-foreground: oklch(0.219 0.04 233.56);
--destructive: oklch(0.635 0.224 34.649);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.723 0.188 342.172);
--chart-1: oklch(0.723 0.188 342.172);
--chart-2: oklch(0.902 0.166 124.978);
--chart-3: oklch(0.788 0.105 231.953);
--chart-4: oklch(0.911 0.152 124.557);
--chart-5: oklch(0.724 0.194 342.342);
}