Gruesome is a shadcn/ui theme built around a light green primary color (#eafaee) with light red accents (#faeeea). The light mode uses a neutral background (#fbfefc). Dark mode keeps the light green primary (#eafaee) on a green-tinted background (#050b06).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefcwhite | #050b06black |
| Foreground | #010402black | #f6f9f7whitesmoke |
| Card | #fbfefcwhite | #050b06black |
| Card foreground | #010402black | #f6f9f7whitesmoke |
| Popover | #fbfefcwhite | #050b06black |
| Popover foreground | #010402black | #f6f9f7whitesmoke |
| Primary | #eafaeehoneydew | #eafaeehoneydew |
| Primary foreground | #0f3e1adarkgreen | #0f3e1adarkgreen |
| Secondary | #eeeafalavender | #eeeafalavender |
| Secondary foreground | #3c2390darkslateblue | #3c2390darkslateblue |
| Muted | #d8d3e9gainsboro | #1b162cblack |
| Muted foreground | #656468dimgray | #98979bdarkgray |
| Accent | #faeeealinen | #faeeealinen |
| Accent foreground | #903c23saddlebrown | #903c23saddlebrown |
| Destructive | #ae1913firebrick | #e83730crimson |
| Destructive foreground | #fef6f6snow | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #eafaeehoneydew | #eafaeehoneydew |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.28:1 | AAA |
| Text on card | 20.28:1 | AAA |
| Primary button | 11.26:1 | AAA |
| Secondary button | 9.72:1 | AAA |
| Muted text | 4.02:1 | AA Large |
| Accent | 6.47:1 | AA |
| Destructive | 6.67:1 | AA |
| Text on background | 18.78:1 | AAA |
| Text on card | 18.78:1 | AAA |
| Primary button | 11.26:1 | AAA |
| Secondary button | 9.72:1 | AAA |
| Muted text | 6.02:1 | AA |
| Accent | 6.47:1 | AA |
| Destructive | 4.18:1 | AA Large |
Paste this into your globals.css to use Gruesome in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.005 153.166);
--foreground: oklch(0.098 0.018 152.411);
--muted: oklch(0.877 0.03 296.455);
--muted-foreground: oklch(0.505 0.006 296.849);
--popover: oklch(0.994 0.005 153.166);
--popover-foreground: oklch(0.098 0.018 152.411);
--card: oklch(0.994 0.005 153.166);
--card-foreground: oklch(0.098 0.018 152.411);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.97 0.023 152.854);
--primary-foreground: oklch(0.321 0.079 147.809);
--secondary: oklch(0.946 0.021 296.677);
--secondary-foreground: oklch(0.365 0.167 285.342);
--accent: oklch(0.958 0.014 37.677);
--accent-foreground: oklch(0.465 0.12 37.396);
--destructive: oklch(0.483 0.184 28.719);
--destructive-foreground: oklch(0.979 0.008 19.727);
--ring: oklch(0.97 0.023 152.854);
--chart-1: oklch(0.97 0.023 152.854);
--chart-2: oklch(0.946 0.021 296.677);
--chart-3: oklch(0.958 0.014 37.677);
--chart-4: oklch(0.978 0.008 296.925);
--chart-5: oklch(0.971 0.024 152.835);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.138 0.016 152.715);
--foreground: oklch(0.978 0.004 153.181);
--muted: oklch(0.219 0.042 293.318);
--muted-foreground: oklch(0.678 0.006 296.92);
--popover: oklch(0.138 0.016 152.715);
--popover-foreground: oklch(0.978 0.004 153.181);
--card: oklch(0.138 0.016 152.715);
--card-foreground: oklch(0.978 0.004 153.181);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.97 0.023 152.854);
--primary-foreground: oklch(0.321 0.079 147.809);
--secondary: oklch(0.946 0.021 296.677);
--secondary-foreground: oklch(0.365 0.167 285.342);
--accent: oklch(0.958 0.014 37.677);
--accent-foreground: oklch(0.465 0.12 37.396);
--destructive: oklch(0.611 0.214 27.724);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.97 0.023 152.854);
--chart-1: oklch(0.97 0.023 152.854);
--chart-2: oklch(0.946 0.021 296.677);
--chart-3: oklch(0.958 0.014 37.677);
--chart-4: oklch(0.978 0.008 296.925);
--chart-5: oklch(0.971 0.024 152.835);
}