Monstrous is a shadcn/ui theme built around a deep yellow primary color (#121008) with deep purple accents (#100812). The light mode uses a neutral background (#fefdfb). Dark mode keeps the deep yellow primary (#121008) on a neutral background (#080703).
| Token | Light | Dark |
|---|---|---|
| Background | #fefdfbsnow | #080703black |
| Foreground | #040301black | #ffffffwhite |
| Card | #fcfbf8snow | #0b0a04black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fefdfbsnow | #080703black |
| Popover foreground | #040301black | #ffffffwhite |
| Primary | #121008black | #121008black |
| Primary foreground | #c9bb82tan | #c9bb82tan |
| Secondary | #081210black | #081210black |
| Secondary foreground | #45a18ecadetblue | #45a18ecadetblue |
| Muted | #d2eae5gainsboro | #152d29darkslategray |
| Muted foreground | #3e4241darkslategray | #bdc1c0silver |
| Accent | #100812black | #100812black |
| Accent foreground | #bb82c9orchid | #bb82c9orchid |
| Destructive | #5c160amaroon | #d43316firebrick |
| Destructive foreground | #f5afa3lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #121008black | #121008black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.29:1 | AAA |
| Text on card | 20.34:1 | AAA |
| Primary button | 9.90:1 | AAA |
| Secondary button | 6.11:1 | AA |
| Muted text | 8.07:1 | AAA |
| Accent | 6.72:1 | AA |
| Destructive | 7.31:1 | AAA |
| Text on background | 20.20:1 | AAA |
| Text on card | 19.82:1 | AAA |
| Primary button | 9.90:1 | AAA |
| Secondary button | 6.11:1 | AA |
| Muted text | 7.99:1 | AAA |
| Accent | 6.72:1 | AA |
| Destructive | 4.89:1 | AA |
Paste this into your globals.css to use Monstrous in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 95.065);
--foreground: oklch(0.101 0.013 99.623);
--muted: oklch(0.918 0.027 182.373);
--muted-foreground: oklch(0.374 0.005 182.796);
--popover: oklch(0.994 0.003 95.065);
--popover-foreground: oklch(0.101 0.013 99.623);
--card: oklch(0.989 0.005 95.095);
--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.172 0.016 96.05);
--primary-foreground: oklch(0.791 0.077 95.783);
--secondary: oklch(0.171 0.016 180.537);
--secondary-foreground: oklch(0.647 0.092 178.037);
--accent: oklch(0.15 0.025 319.587);
--accent-foreground: oklch(0.689 0.119 319.445);
--destructive: oklch(0.319 0.104 32.378);
--destructive-foreground: oklch(0.817 0.085 30.194);
--ring: oklch(0.172 0.016 96.05);
--chart-1: oklch(0.172 0.016 96.05);
--chart-2: oklch(0.171 0.016 180.537);
--chart-3: oklch(0.15 0.025 319.587);
--chart-4: oklch(0.213 0.023 179.678);
--chart-5: oklch(0.173 0.018 96.138);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.013 98.79);
--foreground: oklch(1 0 180);
--muted: oklch(0.277 0.032 179.358);
--muted-foreground: oklch(0.808 0.004 183.036);
--popover: oklch(0.125 0.013 98.79);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.143 0.015 98.501);
--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.172 0.016 96.05);
--primary-foreground: oklch(0.791 0.077 95.783);
--secondary: oklch(0.171 0.016 180.537);
--secondary-foreground: oklch(0.647 0.092 178.037);
--accent: oklch(0.15 0.025 319.587);
--accent-foreground: oklch(0.689 0.119 319.445);
--destructive: oklch(0.571 0.202 32.179);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.172 0.016 96.05);
--chart-1: oklch(0.172 0.016 96.05);
--chart-2: oklch(0.171 0.016 180.537);
--chart-3: oklch(0.15 0.025 319.587);
--chart-4: oklch(0.213 0.023 179.678);
--chart-5: oklch(0.173 0.018 96.138);
}