Horrible is a shadcn/ui theme built around a vivid light green primary color (#b9f29c) with vivid light violet accents (#d59cf2). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light green primary (#b9f29c) on a neutral background (#040802).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040802black |
| Foreground | #000000black | #fcfdfcwhite |
| Card | #ffffffwhite | #040802black |
| Card foreground | #000000black | #fcfdfcwhite |
| Popover | #ffffffwhite | #040802black |
| Popover foreground | #000000black | #fcfdfcwhite |
| Primary | #b9f29cpalegreen | #b9f29cpalegreen |
| Primary foreground | #22510bdarkgreen | #22510bdarkgreen |
| Secondary | #d59cf2plum | #d59cf2plum |
| Secondary foreground | #3a0b51midnightblue | #3a0b51midnightblue |
| Muted | #e0cee9gainsboro | #281631darkslategray |
| Muted foreground | #5a565ddimgray | #a7a2a9darkgray |
| Accent | #d59cf2plum | #d59cf2plum |
| Accent foreground | #3a0b51midnightblue | #3a0b51midnightblue |
| Destructive | #a61a08firebrick | #f4270borangered |
| Destructive foreground | #fee5e2mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b9f29cpalegreen | #b9f29cpalegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 7.21:1 | AAA |
| Secondary button | 7.31:1 | AAA |
| Muted text | 4.83:1 | AA |
| Accent | 7.31:1 | AAA |
| Destructive | 6.33:1 | AA |
| Text on background | 19.78:1 | AAA |
| Text on card | 19.78:1 | AAA |
| Primary button | 7.21:1 | AAA |
| Secondary button | 7.31:1 | AAA |
| Muted text | 6.69:1 | AA |
| Accent | 7.31:1 | AAA |
| Destructive | 4.10: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 0 0);
--muted: oklch(0.874 0.042 314.596);
--muted-foreground: oklch(0.459 0.013 314.691);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.902 0.128 135.66);
--primary-foreground: oklch(0.388 0.111 137.822);
--secondary: oklch(0.777 0.134 313.95);
--secondary-foreground: oklch(0.274 0.121 310.924);
--accent: oklch(0.777 0.134 313.95);
--accent-foreground: oklch(0.274 0.121 310.924);
--destructive: oklch(0.466 0.176 30.923);
--destructive-foreground: oklch(0.941 0.027 26.659);
--ring: oklch(0.902 0.128 135.66);
--chart-1: oklch(0.902 0.128 135.66);
--chart-2: oklch(0.777 0.134 313.95);
--chart-3: oklch(0.777 0.134 313.95);
--chart-4: oklch(0.806 0.115 314.115);
--chart-5: oklch(0.905 0.132 135.696);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.021 133.244);
--foreground: oklch(0.993 0.002 134.837);
--muted: oklch(0.239 0.055 313.569);
--muted-foreground: oklch(0.719 0.012 314.749);
--popover: oklch(0.125 0.021 133.244);
--popover-foreground: oklch(0.993 0.002 134.837);
--card: oklch(0.125 0.021 133.244);
--card-foreground: oklch(0.993 0.002 134.837);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.902 0.128 135.66);
--primary-foreground: oklch(0.388 0.111 137.822);
--secondary: oklch(0.777 0.134 313.95);
--secondary-foreground: oklch(0.274 0.121 310.924);
--accent: oklch(0.777 0.134 313.95);
--accent-foreground: oklch(0.274 0.121 310.924);
--destructive: oklch(0.619 0.237 30.773);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.902 0.128 135.66);
--chart-1: oklch(0.902 0.128 135.66);
--chart-2: oklch(0.777 0.134 313.95);
--chart-3: oklch(0.777 0.134 313.95);
--chart-4: oklch(0.806 0.115 314.115);
--chart-5: oklch(0.905 0.132 135.696);
}