Monstrous is a shadcn/ui theme built around a deep purple primary color (#411f3d) with deep cyan accents (#1f3d41). The light mode uses a neutral background (#fefbfd). Dark mode keeps the deep purple primary (#411f3d) on a neutral background (#070307).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfdsnow | #070307black |
| Foreground | #040104black | #fdfcfdwhite |
| Card | #fcf8fcsnow | #0b040ablack |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcf8fcsnow | #0b040ablack |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #411f3ddarkslategray | #411f3ddarkslategray |
| Primary foreground | #dcb7d7thistle | #dcb7d7thistle |
| Secondary | #3d411fdarkolivegreen | #3d411fdarkolivegreen |
| Secondary foreground | #d7dcb7palegoldenrod | #d7dcb7palegoldenrod |
| Muted | #e1e5cdgainsboro | #2f321adarkslategray |
| Muted foreground | #707458dimgray | #a3a78bdarkseagreen |
| Accent | #1f3d41darkslategray | #1f3d41darkslategray |
| Accent foreground | #b7d7dclightblue | #b7d7dclightblue |
| Destructive | #862d04saddlebrown | #f25207orangered |
| Destructive foreground | #fdd2bfpeachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #411f3ddarkslategray | #411f3ddarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.23:1 | AAA |
| Text on card | 19.92:1 | AAA |
| Primary button | 7.88:1 | AAA |
| Secondary button | 7.46:1 | AAA |
| Muted text | 3.75:1 | AA Large |
| Accent | 7.63:1 | AAA |
| Destructive | 6.34:1 | AA |
| Text on background | 20.01:1 | AAA |
| Text on card | 20.23:1 | AAA |
| Primary button | 7.88:1 | AAA |
| Secondary button | 7.46:1 | AAA |
| Muted text | 5.30:1 | AA |
| Accent | 7.63:1 | AAA |
| Destructive | 3.50:1 | AA Large |
Paste this into your globals.css to use Monstrous in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.004 329.728);
--foreground: oklch(0.084 0.025 331.152);
--muted: oklch(0.912 0.032 113.192);
--muted-foreground: oklch(0.549 0.043 113.987);
--popover: oklch(0.983 0.007 329.773);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.983 0.007 329.773);
--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.3 0.069 332.255);
--primary-foreground: oklch(0.821 0.061 330.562);
--secondary: oklch(0.364 0.053 115.326);
--secondary-foreground: oklch(0.882 0.05 113.602);
--accent: oklch(0.339 0.036 208.296);
--accent-foreground: oklch(0.858 0.035 207.836);
--destructive: oklch(0.424 0.13 40.162);
--destructive-foreground: oklch(0.896 0.055 46.262);
--ring: oklch(0.3 0.069 332.255);
--chart-1: oklch(0.3 0.069 332.255);
--chart-2: oklch(0.364 0.053 115.326);
--chart-3: oklch(0.339 0.036 208.296);
--chart-4: oklch(0.401 0.06 115.394);
--chart-5: oklch(0.3 0.074 332.447);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.11 0.018 330.542);
--foreground: oklch(0.992 0.003 329.715);
--muted: oklch(0.308 0.039 114.959);
--muted-foreground: oklch(0.718 0.04 113.585);
--popover: oklch(0.126 0.02 330.619);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.126 0.02 330.619);
--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.3 0.069 332.255);
--primary-foreground: oklch(0.821 0.061 330.562);
--secondary: oklch(0.364 0.053 115.326);
--secondary-foreground: oklch(0.882 0.05 113.602);
--accent: oklch(0.339 0.036 208.296);
--accent-foreground: oklch(0.858 0.035 207.836);
--destructive: oklch(0.652 0.208 38.745);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.3 0.069 332.255);
--chart-1: oklch(0.3 0.069 332.255);
--chart-2: oklch(0.364 0.053 115.326);
--chart-3: oklch(0.339 0.036 208.296);
--chart-4: oklch(0.401 0.06 115.394);
--chart-5: oklch(0.3 0.074 332.447);
}