Skunk is a shadcn/ui theme built around a vivid light yellow primary color (#fefecd) with vivid light indigo accents (#cdcdfe). The light mode uses a neutral background (#fefefb). Dark mode keeps the vivid light yellow primary (#fefecd) on a neutral background (#040401).
| Token | Light | Dark |
|---|---|---|
| Background | #fefefbwhite | #040401black |
| Foreground | #000000black | #ffffffwhite |
| Card | #fefefbwhite | #040401black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fefefbwhite | #040401black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #fefecdlemonchiffon | #fefecdlemonchiffon |
| Primary foreground | #323201black | #323201black |
| Secondary | #cdcdfelavender | #cdcdfelavender |
| Secondary foreground | #040297darkblue | #040297darkblue |
| Muted | #eeeef1whitesmoke | #0e0e11black |
| Muted foreground | #62626adimgray | #95959ddarkgray |
| Accent | #cdcdfelavender | #cdcdfelavender |
| Accent foreground | #040297darkblue | #040297darkblue |
| Destructive | #bf0603firebrick | #fc3431crimson |
| Destructive foreground | #fff5f5lavenderblush | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fefecdlemonchiffon | #fefecdlemonchiffon |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.75:1 | AAA |
| Text on card | 20.75:1 | AAA |
| Primary button | 12.75:1 | AAA |
| Secondary button | 9.39:1 | AAA |
| Muted text | 5.22:1 | AA |
| Accent | 9.39:1 | AAA |
| Destructive | 6.05:1 | AA |
| Text on background | 20.53:1 | AAA |
| Text on card | 20.53:1 | AAA |
| Primary button | 12.75:1 | AAA |
| Secondary button | 9.39:1 | AAA |
| Muted text | 6.49:1 | AA |
| Accent | 9.39:1 | AAA |
| Destructive | 3.69:1 | AA Large |
Paste this into your globals.css to use Skunk in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.996 0.004 107.235);
--foreground: oklch(0 0 0);
--muted: oklch(0.95 0.004 287.083);
--muted-foreground: oklch(0.499 0.013 286.691);
--popover: oklch(0.996 0.004 107.235);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.996 0.004 107.235);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.986 0.064 108.311);
--primary-foreground: oklch(0.308 0.067 110.766);
--secondary: oklch(0.864 0.069 285.625);
--secondary-foreground: oklch(0.309 0.211 264.917);
--accent: oklch(0.864 0.069 285.625);
--accent-foreground: oklch(0.309 0.211 264.917);
--destructive: oklch(0.507 0.206 29.279);
--destructive-foreground: oklch(0.978 0.01 18.526);
--ring: oklch(0.986 0.064 108.311);
--chart-1: oklch(0.986 0.064 108.311);
--chart-2: oklch(0.864 0.069 285.625);
--chart-3: oklch(0.864 0.069 285.625);
--chart-4: oklch(0.905 0.048 286.171);
--chart-5: oklch(0.987 0.066 108.341);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.104 0.014 109.189);
--foreground: oklch(1 0 180);
--muted: oklch(0.164 0.007 286.362);
--muted-foreground: oklch(0.672 0.012 286.842);
--popover: oklch(0.104 0.014 109.189);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.104 0.014 109.189);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.986 0.064 108.311);
--primary-foreground: oklch(0.308 0.067 110.766);
--secondary: oklch(0.864 0.069 285.625);
--secondary-foreground: oklch(0.309 0.211 264.917);
--accent: oklch(0.864 0.069 285.625);
--accent-foreground: oklch(0.309 0.211 264.917);
--destructive: oklch(0.644 0.234 27.496);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.986 0.064 108.311);
--chart-1: oklch(0.986 0.064 108.311);
--chart-2: oklch(0.864 0.069 285.625);
--chart-3: oklch(0.864 0.069 285.625);
--chart-4: oklch(0.905 0.048 286.171);
--chart-5: oklch(0.987 0.066 108.341);
}