Disgusting is a shadcn/ui theme built around a muted deep purple primary color (#291e29) with muted deep pink accents (#291e23). The light mode uses a neutral background (#fdf6fd). Dark mode keeps the muted deep purple primary (#291e29) on a purple-tinted background (#0d070d).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf6fdsnow | #0d070dblack |
| Foreground | #150414black | #ffffffwhite |
| Card | #fdf2fclavenderblush | #110910black |
| Card foreground | #110410black | #ffffffwhite |
| Popover | #fdf6fdsnow | #0d070dblack |
| Popover foreground | #150414black | #ffffffwhite |
| Primary | #291e29darkslategray | #291e29darkslategray |
| Primary foreground | #c7b2c6silver | #c7b2c6silver |
| Secondary | #241e29black | #241e29black |
| Secondary foreground | #beb2c7silver | #beb2c7silver |
| Muted | #d9d2dfgainsboro | #27202ddarkslategray |
| Muted foreground | #5c5760dimgray | #a49fa8darkgray |
| Accent | #291e23black | #291e23black |
| Accent foreground | #c7b2bcsilver | #c7b2bcsilver |
| Destructive | #b31509firebrick | #f43325orangered |
| Destructive foreground | #fef1f0seashell | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #291e29darkslategray | #291e29darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.72:1 | AAA |
| Text on card | 18.37:1 | AAA |
| Primary button | 8.07:1 | AAA |
| Secondary button | 8.02:1 | AAA |
| Muted text | 4.77:1 | AA |
| Accent | 8.05:1 | AAA |
| Destructive | 6.28:1 | AA |
| Text on background | 19.92:1 | AAA |
| Text on card | 19.64:1 | AAA |
| Primary button | 8.07:1 | AAA |
| Secondary button | 8.02:1 | AAA |
| Muted text | 6.10:1 | AA |
| Accent | 8.05:1 | AAA |
| Destructive | 3.94:1 | AA Large |
Paste this into your globals.css to use Disgusting in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.012 327.148);
--foreground: oklch(0.151 0.044 329.283);
--muted: oklch(0.874 0.019 310.233);
--muted-foreground: oklch(0.466 0.016 310.12);
--popover: oklch(0.982 0.012 327.148);
--popover-foreground: oklch(0.151 0.044 329.283);
--card: oklch(0.972 0.018 327.204);
--card-foreground: oklch(0.137 0.039 329.096);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.253 0.026 327.945);
--primary-foreground: oklch(0.788 0.037 327.459);
--secondary: oklch(0.247 0.023 309.569);
--secondary-foreground: oklch(0.78 0.032 310.053);
--accent: oklch(0.251 0.02 349.872);
--accent-foreground: oklch(0.785 0.028 348.748);
--destructive: oklch(0.489 0.191 29.746);
--destructive-foreground: oklch(0.969 0.014 22.379);
--ring: oklch(0.253 0.026 327.945);
--chart-1: oklch(0.253 0.026 327.945);
--chart-2: oklch(0.247 0.023 309.569);
--chart-3: oklch(0.251 0.02 349.872);
--chart-4: oklch(0.277 0.027 309.52);
--chart-5: oklch(0.253 0.031 328.106);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.141 0.018 328.038);
--foreground: oklch(1 0 180);
--muted: oklch(0.256 0.026 309.492);
--muted-foreground: oklch(0.708 0.014 310.249);
--popover: oklch(0.141 0.018 328.038);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.154 0.021 328.186);
--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.253 0.026 327.945);
--primary-foreground: oklch(0.788 0.037 327.459);
--secondary: oklch(0.247 0.023 309.569);
--secondary-foreground: oklch(0.78 0.032 310.053);
--accent: oklch(0.251 0.02 349.872);
--accent-foreground: oklch(0.785 0.028 348.748);
--destructive: oklch(0.627 0.228 29.385);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.253 0.026 327.945);
--chart-1: oklch(0.253 0.026 327.945);
--chart-2: oklch(0.247 0.023 309.569);
--chart-3: oklch(0.251 0.02 349.872);
--chart-4: oklch(0.277 0.027 309.52);
--chart-5: oklch(0.253 0.031 328.106);
}