Hideous is a shadcn/ui theme built around a light green primary color (#c2e9af) with light violet accents (#d6afe9). The light mode uses a neutral background (#fcfefb). Dark mode keeps the light green primary (#c2e9af) on a neutral background (#020401).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfefbwhite | #020401black |
| Foreground | #081203black | #fcfdfcwhite |
| Card | #fcfefbwhite | #020401black |
| Card foreground | #081203black | #fcfdfcwhite |
| Popover | #fcfefbwhite | #020401black |
| Popover foreground | #081203black | #fcfdfcwhite |
| Primary | #c2e9afpalegoldenrod | #c2e9afpalegoldenrod |
| Primary foreground | #295016darkgreen | #295016darkgreen |
| Secondary | #d6afe9plum | #d6afe9plum |
| Secondary foreground | #3d1650midnightblue | #3d1650midnightblue |
| Muted | #f0eef2whitesmoke | #100d11black |
| Muted foreground | #58495fdimgray | #aea0b6darkgray |
| Accent | #d6afe9plum | #d6afe9plum |
| Accent foreground | #3d1650midnightblue | #3d1650midnightblue |
| Destructive | #940200darkred | #ff3633tomato |
| Destructive foreground | #ffc8c7pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c2e9afpalegoldenrod | #c2e9afpalegoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.85:1 | AAA |
| Text on card | 18.85:1 | AAA |
| Primary button | 6.91:1 | AA |
| Secondary button | 7.80:1 | AAA |
| Muted text | 7.17:1 | AAA |
| Accent | 7.80:1 | AAA |
| Destructive | 6.32:1 | AA |
| Text on background | 20.19:1 | AAA |
| Text on card | 20.19:1 | AAA |
| Primary button | 6.91:1 | AA |
| Secondary button | 7.80:1 | AAA |
| Muted text | 7.80:1 | AAA |
| Accent | 7.80:1 | AAA |
| Destructive | 3.59:1 | AA Large |
Paste this into your globals.css to use Hideous in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.005 134.85);
--foreground: oklch(0.165 0.036 133.938);
--muted: oklch(0.951 0.006 314.794);
--muted-foreground: oklch(0.429 0.04 314.374);
--popover: oklch(0.995 0.005 134.85);
--popover-foreground: oklch(0.165 0.036 133.938);
--card: oklch(0.995 0.005 134.85);
--card-foreground: oklch(0.165 0.036 133.938);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.892 0.088 135.36);
--primary-foreground: oklch(0.389 0.097 136.935);
--secondary: oklch(0.807 0.09 314.278);
--secondary-foreground: oklch(0.29 0.105 312.319);
--accent: oklch(0.807 0.09 314.278);
--accent-foreground: oklch(0.29 0.105 312.319);
--destructive: oklch(0.419 0.171 29.488);
--destructive-foreground: oklch(0.881 0.063 19.552);
--ring: oklch(0.892 0.088 135.36);
--chart-1: oklch(0.892 0.088 135.36);
--chart-2: oklch(0.807 0.09 314.278);
--chart-3: oklch(0.807 0.09 314.278);
--chart-4: oklch(0.836 0.076 314.382);
--chart-5: oklch(0.895 0.092 135.389);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.098 0.014 133.43);
--foreground: oklch(0.993 0.002 134.837);
--muted: oklch(0.165 0.01 314.535);
--muted-foreground: oklch(0.725 0.035 314.592);
--popover: oklch(0.098 0.014 133.43);
--popover-foreground: oklch(0.993 0.002 134.837);
--card: oklch(0.098 0.014 133.43);
--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.892 0.088 135.36);
--primary-foreground: oklch(0.389 0.097 136.935);
--secondary: oklch(0.807 0.09 314.278);
--secondary-foreground: oklch(0.29 0.105 312.319);
--accent: oklch(0.807 0.09 314.278);
--accent-foreground: oklch(0.29 0.105 312.319);
--destructive: oklch(0.651 0.235 27.421);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.892 0.088 135.36);
--chart-1: oklch(0.892 0.088 135.36);
--chart-2: oklch(0.807 0.09 314.278);
--chart-3: oklch(0.807 0.09 314.278);
--chart-4: oklch(0.836 0.076 314.382);
--chart-5: oklch(0.895 0.092 135.389);
}