Horrible is a shadcn/ui theme built around a vivid green primary color (#46fb88) with vivid pink accents (#fb46b9). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid green primary (#46fb88) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #06140bblack | #f9fbfamintcream |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #051009black | #fcfdfcwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #06140bblack | #f9fbfamintcream |
| Primary | #46fb88mediumaquamarine | #46fb88mediumaquamarine |
| Primary foreground | #000f06black | #000f06black |
| Secondary | #fb46b9hotpink | #fb46b9hotpink |
| Secondary foreground | #0f000ablack | #0f000ablack |
| Muted | #e4d3ddgainsboro | #2c1b26black |
| Muted foreground | #575757dimgray | #a8a8a8darkgray |
| Accent | #fb46b9hotpink | #fb46b9hotpink |
| Accent foreground | #0f000ablack | #0f000ablack |
| Destructive | #a42a0efirebrick | #eb4019orangered |
| Destructive foreground | #fdebe8linen | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #46fb88mediumaquamarine | #46fb88mediumaquamarine |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.87:1 | AAA |
| Text on card | 18.94:1 | AAA |
| Primary button | 14.42:1 | AAA |
| Secondary button | 6.52:1 | AA |
| Muted text | 5.04:1 | AA |
| Accent | 6.52:1 | AA |
| Destructive | 6.24:1 | AA |
| Text on background | 20.20:1 | AAA |
| Text on card | 20.28:1 | AAA |
| Primary button | 14.42:1 | AAA |
| Secondary button | 6.52:1 | AA |
| Muted text | 6.81:1 | AA |
| Accent | 6.52:1 | AA |
| Destructive | 3.98:1 | AA Large |
Paste this into your globals.css to use Horrible in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.173 0.027 155.628);
--muted: oklch(0.883 0.023 339.264);
--muted-foreground: oklch(0.456 0 180);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.173 0.027 155.628);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.157 0.023 157.092);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.874 0.213 150.935);
--primary-foreground: oklch(0.149 0.034 157.473);
--secondary: oklch(0.689 0.24 346.421);
--secondary-foreground: oklch(0.115 0.047 340.38);
--accent: oklch(0.689 0.24 346.421);
--accent-foreground: oklch(0.115 0.047 340.38);
--destructive: oklch(0.476 0.163 33.499);
--destructive-foreground: oklch(0.954 0.02 32.675);
--ring: oklch(0.874 0.213 150.935);
--chart-1: oklch(0.874 0.213 150.935);
--chart-2: oklch(0.689 0.24 346.421);
--chart-3: oklch(0.689 0.24 346.421);
--chart-4: oklch(0.706 0.226 345.511);
--chart-5: oklch(0.88 0.217 150.722);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.986 0.002 158.68);
--muted: oklch(0.249 0.031 341.239);
--muted-foreground: oklch(0.733 0 180);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.986 0.002 158.68);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.993 0.001 158.7);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.874 0.213 150.935);
--primary-foreground: oklch(0.149 0.034 157.473);
--secondary: oklch(0.689 0.24 346.421);
--secondary-foreground: oklch(0.115 0.047 340.38);
--accent: oklch(0.689 0.24 346.421);
--accent-foreground: oklch(0.115 0.047 340.38);
--destructive: oklch(0.622 0.213 33.482);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.874 0.213 150.935);
--chart-1: oklch(0.874 0.213 150.935);
--chart-2: oklch(0.689 0.24 346.421);
--chart-3: oklch(0.689 0.24 346.421);
--chart-4: oklch(0.706 0.226 345.511);
--chart-5: oklch(0.88 0.217 150.722);
}