Naughty is a shadcn/ui theme built around a green primary color (#5eb062) with purple accents (#b05eac). The light mode uses a neutral background (#f8fcf8). Dark mode keeps the green primary (#5eb062) on a neutral background (#030803).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcf8mintcream | #030803black |
| Foreground | #051506black | #f8fbf9mintcream |
| Card | #f8fcf8mintcream | #030803black |
| Card foreground | #051506black | #f8fbf9mintcream |
| Popover | #f8fcf8mintcream | #030803black |
| Popover foreground | #051506black | #f8fbf9mintcream |
| Primary | #5eb062mediumseagreen | #5eb062mediumseagreen |
| Primary foreground | #000000black | #000000black |
| Secondary | #b05eacmediumorchid | #b05eacmediumorchid |
| Secondary foreground | #000000black | #000000black |
| Muted | #dcd6dcgainsboro | #292329darkslategray |
| Muted foreground | #664d64dimgray | #b299b1darkgray |
| Accent | #b05eacmediumorchid | #b05eacmediumorchid |
| Accent foreground | #000000black | #000000black |
| Destructive | #d54801orangered | #e44d01orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5eb062mediumseagreen | #5eb062mediumseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.16:1 | AAA |
| Text on card | 18.16:1 | AAA |
| Primary button | 7.86:1 | AAA |
| Secondary button | 5.05:1 | AA |
| Muted text | 5.21:1 | AA |
| Accent | 5.05:1 | AA |
| Destructive | 4.41:1 | AA Large |
| Text on background | 19.43:1 | AAA |
| Text on card | 19.43:1 | AAA |
| Primary button | 7.86:1 | AAA |
| Secondary button | 5.05:1 | AA |
| Muted text | 5.89:1 | AA |
| Accent | 5.05:1 | AA |
| Destructive | 3.91:1 | AA Large |
Paste this into your globals.css to use Naughty in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.008 146.966);
--foreground: oklch(0.174 0.039 144.984);
--muted: oklch(0.882 0.01 327.146);
--muted-foreground: oklch(0.454 0.049 327.991);
--popover: oklch(0.987 0.008 146.966);
--popover-foreground: oklch(0.174 0.039 144.984);
--card: oklch(0.987 0.008 146.966);
--card-foreground: oklch(0.174 0.039 144.984);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.686 0.137 144.92);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.606 0.145 329.032);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.606 0.145 329.032);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.593 0.188 39.351);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.686 0.137 144.92);
--chart-1: oklch(0.686 0.137 144.92);
--chart-2: oklch(0.606 0.145 329.032);
--chart-3: oklch(0.606 0.145 329.032);
--chart-4: oklch(0.63 0.135 328.845);
--chart-5: oklch(0.693 0.147 144.758);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.121 0.02 145.795);
--foreground: oklch(0.986 0.005 146.994);
--muted: oklch(0.266 0.014 327.508);
--muted-foreground: oklch(0.713 0.044 327.595);
--popover: oklch(0.121 0.02 145.795);
--popover-foreground: oklch(0.986 0.005 146.994);
--card: oklch(0.121 0.02 145.795);
--card-foreground: oklch(0.986 0.005 146.994);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.686 0.137 144.92);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.606 0.145 329.032);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.606 0.145 329.032);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.624 0.199 39.185);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.686 0.137 144.92);
--chart-1: oklch(0.686 0.137 144.92);
--chart-2: oklch(0.606 0.145 329.032);
--chart-3: oklch(0.606 0.145 329.032);
--chart-4: oklch(0.63 0.135 328.845);
--chart-5: oklch(0.693 0.147 144.758);
}