Humiliating is a shadcn/ui theme built around a muted blue primary color (#656f9a) with muted green accents (#6f9a65). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted blue primary (#656f9a) on a neutral background (#010204).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #010204black |
| Foreground | #02040dblack | #ffffffwhite |
| Card | #fcfcfcsnow | #020308black |
| Card foreground | #020309black | #ffffffwhite |
| Popover | #ffffffwhite | #010204black |
| Popover foreground | #02040dblack | #ffffffwhite |
| Primary | #656f9aslategray | #656f9aslategray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #9a656fgray | #9a656fgray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f7edeflinen | #12080ablack |
| Muted foreground | #635457dimgray | #ab9c9fdarkgray |
| Accent | #6f9a65gray | #6f9a65gray |
| Accent foreground | #000000black | #000000black |
| Destructive | #890806darkred | #f62623crimson |
| Destructive foreground | #fdc5c4pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #656f9aslategray | #656f9aslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.47:1 | AAA |
| Text on card | 20.15:1 | AAA |
| Primary button | 4.91:1 | AA |
| Secondary button | 4.71:1 | AA |
| Muted text | 6.24:1 | AA |
| Accent | 6.49:1 | AA |
| Destructive | 6.64:1 | AA |
| Text on background | 20.79:1 | AAA |
| Text on card | 20.58:1 | AAA |
| Primary button | 4.91:1 | AA |
| Secondary button | 4.71:1 | AA |
| Muted text | 7.51:1 | AAA |
| Accent | 6.49:1 | AA |
| Destructive | 4.02:1 | AA Large |
Paste this into your globals.css to use Humiliating in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.112 0.025 266.911);
--muted: oklch(0.955 0.011 4.623);
--muted-foreground: oklch(0.463 0.02 5.426);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.112 0.025 266.911);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.097 0.021 266.687);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.55 0.069 274.169);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.566 0.07 7.558);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.641 0.091 139.91);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.4 0.159 28.956);
--destructive-foreground: oklch(0.873 0.064 19.572);
--ring: oklch(0.55 0.069 274.169);
--chart-1: oklch(0.55 0.069 274.169);
--chart-2: oklch(0.566 0.07 7.558);
--chart-3: oklch(0.641 0.091 139.91);
--chart-4: oklch(0.593 0.065 7.172);
--chart-5: oklch(0.543 0.079 273.795);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.08 0.014 268.811);
--foreground: oklch(1 0 180);
--muted: oklch(0.149 0.019 6.754);
--muted-foreground: oklch(0.706 0.018 4.968);
--popover: oklch(0.08 0.014 268.811);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.101 0.018 268.811);
--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.55 0.069 274.169);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.566 0.07 7.558);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.641 0.091 139.91);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.624 0.238 28.238);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.55 0.069 274.169);
--chart-1: oklch(0.55 0.069 274.169);
--chart-2: oklch(0.566 0.07 7.558);
--chart-3: oklch(0.641 0.091 139.91);
--chart-4: oklch(0.593 0.065 7.172);
--chart-5: oklch(0.543 0.079 273.795);
}