Frightened is a shadcn/ui theme built around a deep green primary color (#111d0b) with deep pink accents (#1d0b11). The light mode uses a neutral background (#fcfefb). Dark mode keeps the deep green primary (#111d0b) on a green-tinted background (#081004).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfefbwhite | #081004black |
| Foreground | #000000black | #ffffffwhite |
| Card | #fcfefbwhite | #081004black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcfefbwhite | #081004black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #111d0bblack | #111d0bblack |
| Primary foreground | #67b045olivedrab | #67b045olivedrab |
| Secondary | #0b111dblack | #0b111dblack |
| Secondary foreground | #89a0d1cornflowerblue | #89a0d1cornflowerblue |
| Muted | #d8dde9gainsboro | #161b27black |
| Muted foreground | #485060darkslategray | #9fa7b7darkgray |
| Accent | #1d0b11black | #1d0b11black |
| Accent foreground | #d189a0rosybrown | #d189a0rosybrown |
| Destructive | #892701saddlebrown | #fe6225tomato |
| Destructive foreground | #ffd0bdpeachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #111d0bblack | #111d0bblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.71:1 | AAA |
| Text on card | 20.71:1 | AAA |
| Primary button | 6.51:1 | AA |
| Secondary button | 7.19:1 | AAA |
| Muted text | 5.95:1 | AA |
| Accent | 7.01:1 | AAA |
| Destructive | 6.36:1 | AA |
| Text on background | 19.32:1 | AAA |
| Text on card | 19.32:1 | AAA |
| Primary button | 6.51:1 | AA |
| Secondary button | 7.19:1 | AAA |
| Muted text | 7.09:1 | AAA |
| Accent | 7.01:1 | AAA |
| Destructive | 6.99:1 | AA |
Paste this into your globals.css to use Frightened in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.005 135.449);
--foreground: oklch(0 0 0);
--muted: oklch(0.897 0.018 265.908);
--muted-foreground: oklch(0.43 0.028 265.582);
--popover: oklch(0.995 0.005 135.449);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.995 0.005 135.449);
--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.215 0.038 136.412);
--primary-foreground: oklch(0.687 0.161 137.063);
--secondary: oklch(0.179 0.027 264.78);
--secondary-foreground: oklch(0.707 0.077 265.203);
--accent: oklch(0.181 0.032 0.55);
--accent-foreground: oklch(0.711 0.092 359.161);
--destructive: oklch(0.423 0.139 37.712);
--destructive-foreground: oklch(0.892 0.059 42.674);
--ring: oklch(0.215 0.038 136.412);
--chart-1: oklch(0.215 0.038 136.412);
--chart-2: oklch(0.179 0.027 264.78);
--chart-3: oklch(0.181 0.032 0.55);
--chart-4: oklch(0.209 0.036 264.569);
--chart-5: oklch(0.217 0.04 136.492);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.16 0.029 134.644);
--foreground: oklch(1 0 180);
--muted: oklch(0.224 0.025 265.16);
--muted-foreground: oklch(0.726 0.025 265.819);
--popover: oklch(0.16 0.029 134.644);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.16 0.029 134.644);
--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.215 0.038 136.412);
--primary-foreground: oklch(0.687 0.161 137.063);
--secondary: oklch(0.179 0.027 264.78);
--secondary-foreground: oklch(0.707 0.077 265.203);
--accent: oklch(0.181 0.032 0.55);
--accent-foreground: oklch(0.711 0.092 359.161);
--destructive: oklch(0.691 0.202 39.374);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.215 0.038 136.412);
--chart-1: oklch(0.215 0.038 136.412);
--chart-2: oklch(0.179 0.027 264.78);
--chart-3: oklch(0.181 0.032 0.55);
--chart-4: oklch(0.209 0.036 264.569);
--chart-5: oklch(0.217 0.04 136.492);
}