Wild is a shadcn/ui theme built around a light violet primary color (#eadef8) with muted light violet accents (#dbd8df). The light mode uses a neutral background (#ffffff). Dark mode keeps the light violet primary (#eadef8) on a neutral background (#020204).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020204black |
| Foreground | #020105black | #f7f4fawhitesmoke |
| Card | #ffffffwhite | #020204black |
| Card foreground | #020105black | #f7f4fawhitesmoke |
| Popover | #ffffffwhite | #020204black |
| Popover foreground | #020105black | #f7f4fawhitesmoke |
| Primary | #eadef8lavender | #eadef8lavender |
| Primary foreground | #4e1d86indigo | #4e1d86indigo |
| Secondary | #dbd8dfgainsboro | #282131darkslategray |
| Secondary foreground | #423c49darkslategray | #c1b6cdsilver |
| Muted | #eae6f0lavender | #140f1ablack |
| Muted foreground | #443b4edarkslategray | #bab1c4silver |
| Accent | #dbd8dfgainsboro | #282131darkslategray |
| Accent foreground | #423c49darkslategray | #c1b6cdsilver |
| Destructive | #922101darkred | #ed3502orangered |
| Destructive foreground | #fed3c7peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #eadef8lavender | #eadef8lavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.81:1 | AAA |
| Text on card | 20.81:1 | AAA |
| Primary button | 8.80:1 | AAA |
| Secondary button | 7.53:1 | AAA |
| Muted text | 8.59:1 | AAA |
| Accent | 7.53:1 | AAA |
| Destructive | 6.27:1 | AA |
| Text on background | 19.05:1 | AAA |
| Text on card | 19.05:1 | AAA |
| Primary button | 8.80:1 | AAA |
| Secondary button | 8.01:1 | AAA |
| Muted text | 9.12:1 | AAA |
| Accent | 8.01:1 | AAA |
| Destructive | 4.09:1 | AA Large |
Paste this into your globals.css to use Wild in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.076 0.025 309.31);
--muted: oklch(0.93 0.015 306.92);
--muted-foreground: oklch(0.37 0.034 305.969);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.076 0.025 309.31);
--card: oklch(1 0 180);
--card-foreground: oklch(0.076 0.025 309.31);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.917 0.037 306.614);
--primary-foreground: oklch(0.368 0.161 299.424);
--secondary: oklch(0.886 0.01 306.969);
--secondary-foreground: oklch(0.366 0.024 306.317);
--accent: oklch(0.886 0.01 306.969);
--accent-foreground: oklch(0.366 0.024 306.317);
--destructive: oklch(0.434 0.154 34.352);
--destructive-foreground: oklch(0.902 0.051 35.954);
--ring: oklch(0.917 0.037 306.614);
--chart-1: oklch(0.917 0.037 306.614);
--chart-2: oklch(0.886 0.01 306.969);
--chart-3: oklch(0.886 0.01 306.969);
--chart-4: oklch(0.911 0.008 307.004);
--chart-5: oklch(0.916 0.039 306.59);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.084 0.012 308.042);
--foreground: oklch(0.972 0.008 307.006);
--muted: oklch(0.181 0.022 305.625);
--muted-foreground: oklch(0.772 0.029 306.656);
--popover: oklch(0.084 0.012 308.042);
--popover-foreground: oklch(0.972 0.008 307.006);
--card: oklch(0.084 0.012 308.042);
--card-foreground: oklch(0.972 0.008 307.006);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.917 0.037 306.614);
--primary-foreground: oklch(0.368 0.161 299.424);
--secondary: oklch(0.263 0.03 305.699);
--secondary-foreground: oklch(0.793 0.034 306.581);
--accent: oklch(0.263 0.03 305.699);
--accent-foreground: oklch(0.793 0.034 306.581);
--destructive: oklch(0.617 0.224 33.429);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.917 0.037 306.614);
--chart-1: oklch(0.917 0.037 306.614);
--chart-2: oklch(0.263 0.03 305.699);
--chart-3: oklch(0.263 0.03 305.699);
--chart-4: oklch(0.291 0.035 305.634);
--chart-5: oklch(0.916 0.039 306.59);
}