Disgusting is a shadcn/ui theme built around a cyan primary color (#22a5bf) with blue accents (#2256bf). The light mode uses a neutral background (#ffffff). Dark mode keeps the cyan primary (#22a5bf) on a cyan-tinted background (#030b0c).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030b0cblack |
| Foreground | #041215black | #f8fbfbghostwhite |
| Card | #ffffffwhite | #030b0cblack |
| Card foreground | #041215black | #f8fbfbghostwhite |
| Popover | #ffffffwhite | #030b0cblack |
| Popover foreground | #041215black | #f8fbfbghostwhite |
| Primary | #22a5bflightseagreen | #22a5bflightseagreen |
| Primary foreground | #030f11black | #030f11black |
| Secondary | #22bf8alightseagreen | #22bf8alightseagreen |
| Secondary foreground | #03110dblack | #03110dblack |
| Muted | #f1f4f3whitesmoke | #0b0e0dblack |
| Muted foreground | #424343darkslategray | #bcbdbdsilver |
| Accent | #2256bfroyalblue | #2256bfroyalblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #6b0f05maroon | #f4341forangered |
| Destructive foreground | #fbb0a7lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #22a5bflightseagreen | #22a5bflightseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.04:1 | AAA |
| Text on card | 19.04:1 | AAA |
| Primary button | 6.63:1 | AA |
| Secondary button | 8.13:1 | AAA |
| Muted text | 8.93:1 | AAA |
| Accent | 6.66:1 | AA |
| Destructive | 6.98:1 | AA |
| Text on background | 19.11:1 | AAA |
| Text on card | 19.11:1 | AAA |
| Primary button | 6.63:1 | AA |
| Secondary button | 8.13:1 | AAA |
| Muted text | 10.29:1 | AAA |
| Accent | 6.66:1 | AA |
| Destructive | 3.90:1 | AA Large |
Paste this into your globals.css to use Disgusting in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.172 0.022 211.022);
--muted: oklch(0.964 0.003 174.499);
--muted-foreground: oklch(0.381 0.002 174.44);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.172 0.022 211.022);
--card: oklch(1 0 180);
--card-foreground: oklch(0.172 0.022 211.022);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.666 0.111 215.442);
--primary-foreground: oklch(0.157 0.02 209.849);
--secondary: oklch(0.715 0.145 164.08);
--secondary-foreground: oklch(0.163 0.025 171.58);
--accent: oklch(0.483 0.174 262.137);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.342 0.126 30.768);
--destructive-foreground: oklch(0.825 0.09 26.236);
--ring: oklch(0.666 0.111 215.442);
--chart-1: oklch(0.666 0.111 215.442);
--chart-2: oklch(0.715 0.145 164.08);
--chart-3: oklch(0.483 0.174 262.137);
--chart-4: oklch(0.751 0.153 164.011);
--chart-5: oklch(0.672 0.114 215.787);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.015 208.207);
--foreground: oklch(0.986 0.003 211.042);
--muted: oklch(0.161 0.005 173.742);
--muted-foreground: oklch(0.798 0.002 174.529);
--popover: oklch(0.139 0.015 208.207);
--popover-foreground: oklch(0.986 0.003 211.042);
--card: oklch(0.139 0.015 208.207);
--card-foreground: oklch(0.986 0.003 211.042);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.666 0.111 215.442);
--primary-foreground: oklch(0.157 0.02 209.849);
--secondary: oklch(0.715 0.145 164.08);
--secondary-foreground: oklch(0.163 0.025 171.58);
--accent: oklch(0.483 0.174 262.137);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.63 0.229 30.502);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.666 0.111 215.442);
--chart-1: oklch(0.666 0.111 215.442);
--chart-2: oklch(0.715 0.145 164.08);
--chart-3: oklch(0.483 0.174 262.137);
--chart-4: oklch(0.751 0.153 164.011);
--chart-5: oklch(0.672 0.114 215.787);
}