Unacceptable is a shadcn/ui theme built around a vivid deep pink primary color (#29051a) with vivid deep blue accents (#051a29). The light mode uses a neutral background (#fefbfd). Dark mode keeps the vivid deep pink primary (#29051a) on a pink-tinted background (#0a0508).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfdsnow | #0a0508black |
| Foreground | #0c0308black | #ffffffwhite |
| Card | #fefbfdsnow | #0a0508black |
| Card foreground | #0c0308black | #ffffffwhite |
| Popover | #fefbfdsnow | #0a0508black |
| Popover foreground | #0c0308black | #ffffffwhite |
| Primary | #29051ablack | #29051ablack |
| Primary foreground | #ee72bahotpink | #ee72bahotpink |
| Secondary | #1a2905black | #1a2905black |
| Secondary foreground | #8dde1byellowgreen | #8dde1byellowgreen |
| Muted | #ecf3e3beige | #161c0cblack |
| Muted foreground | #454644darkslategray | #babbb9silver |
| Accent | #051a29black | #051a29black |
| Accent foreground | #72baeeskyblue | #72baeeskyblue |
| Destructive | #bc1515firebrick | #eb4747tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #29051ablack | #29051ablack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.76:1 | AAA |
| Text on card | 19.76:1 | AAA |
| Primary button | 6.85:1 | AA |
| Secondary button | 9.25:1 | AAA |
| Muted text | 8.33:1 | AAA |
| Accent | 8.41:1 | AAA |
| Destructive | 6.44:1 | AA |
| Text on background | 20.23:1 | AAA |
| Text on card | 20.23:1 | AAA |
| Primary button | 6.85:1 | AA |
| Secondary button | 9.25:1 | AAA |
| Muted text | 9.01:1 | AAA |
| Accent | 8.41:1 | AAA |
| Destructive | 3.80:1 | AA Large |
Paste this into your globals.css to use Unacceptable in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.005 341.121);
--foreground: oklch(0.121 0.027 341.513);
--muted: oklch(0.953 0.022 125.369);
--muted-foreground: oklch(0.391 0.002 125.13);
--popover: oklch(0.99 0.005 341.121);
--popover-foreground: oklch(0.121 0.027 341.513);
--card: oklch(0.99 0.005 341.121);
--card-foreground: oklch(0.121 0.027 341.513);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.196 0.066 348.474);
--primary-foreground: oklch(0.719 0.172 346.227);
--secondary: oklch(0.258 0.061 129.29);
--secondary-foreground: oklch(0.818 0.219 131.503);
--accent: oklch(0.209 0.04 242.242);
--accent-foreground: oklch(0.762 0.104 241.031);
--destructive: oklch(0.507 0.197 28.118);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.196 0.066 348.474);
--chart-1: oklch(0.196 0.066 348.474);
--chart-2: oklch(0.258 0.061 129.29);
--chart-3: oklch(0.209 0.04 242.242);
--chart-4: oklch(0.307 0.075 129.927);
--chart-5: oklch(0.196 0.069 348.693);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.126 0.015 341.082);
--foreground: oklch(1 0 180);
--muted: oklch(0.216 0.031 127.24);
--muted-foreground: oklch(0.791 0.002 125.08);
--popover: oklch(0.126 0.015 341.082);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.126 0.015 341.082);
--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.196 0.066 348.474);
--primary-foreground: oklch(0.719 0.172 346.227);
--secondary: oklch(0.258 0.061 129.29);
--secondary-foreground: oklch(0.818 0.219 131.503);
--accent: oklch(0.209 0.04 242.242);
--accent-foreground: oklch(0.762 0.104 241.031);
--destructive: oklch(0.633 0.2 24.932);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.196 0.066 348.474);
--chart-1: oklch(0.196 0.066 348.474);
--chart-2: oklch(0.258 0.061 129.29);
--chart-3: oklch(0.209 0.04 242.242);
--chart-4: oklch(0.307 0.075 129.927);
--chart-5: oklch(0.196 0.069 348.693);
}