Mountainous is a shadcn/ui theme built around a green primary color (#a7c077) with pink accents (#c077a7). The light mode uses a neutral background (#fafcf8). Dark mode keeps the green primary (#a7c077) on a neutral background (#030401).
| Token | Light | Dark |
|---|---|---|
| Background | #fafcf8snow | #030401black |
| Foreground | #060901black | #ffffffwhite |
| Card | #fafcf8snow | #030401black |
| Card foreground | #060901black | #ffffffwhite |
| Popover | #fafcf8snow | #030401black |
| Popover foreground | #060901black | #ffffffwhite |
| Primary | #a7c077darkkhaki | #a7c077darkkhaki |
| Primary foreground | #030302black | #030302black |
| Secondary | #77a7c0cadetblue | #77a7c0cadetblue |
| Secondary foreground | #020303black | #020303black |
| Muted | #e6e9ealavender | #151819black |
| Muted foreground | #5c6970dimgray | #8f9ca3darkgray |
| Accent | #c077a7rosybrown | #c077a7rosybrown |
| Accent foreground | #030203black | #030203black |
| Destructive | #b63511firebrick | #e54215orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a7c077darkkhaki | #a7c077darkkhaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.42:1 | AAA |
| Text on card | 19.42:1 | AAA |
| Primary button | 10.28:1 | AAA |
| Secondary button | 7.90:1 | AAA |
| Muted text | 4.62:1 | AA |
| Accent | 6.34:1 | AA |
| Destructive | 5.99:1 | AA |
| Text on background | 20.55:1 | AAA |
| Text on card | 20.55:1 | AAA |
| Primary button | 10.28:1 | AAA |
| Secondary button | 7.90:1 | AAA |
| Muted text | 6.35:1 | AA |
| Accent | 6.34:1 | AA |
| Destructive | 4.10:1 | AA Large |
Paste this into your globals.css to use Mountainous in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.005 122.299);
--foreground: oklch(0.132 0.026 121.642);
--muted: oklch(0.931 0.003 230.711);
--muted-foreground: oklch(0.512 0.02 231.242);
--popover: oklch(0.989 0.005 122.299);
--popover-foreground: oklch(0.132 0.026 121.642);
--card: oklch(0.989 0.005 122.299);
--card-foreground: oklch(0.132 0.026 121.642);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.772 0.102 124.458);
--primary-foreground: oklch(0.099 0.01 121.912);
--secondary: oklch(0.702 0.064 232.365);
--secondary-foreground: oklch(0.092 0.006 226.312);
--accent: oklch(0.662 0.11 341.201);
--accent-foreground: oklch(0.087 0.011 338.199);
--destructive: oklch(0.519 0.172 35.014);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.772 0.102 124.458);
--chart-1: oklch(0.772 0.102 124.458);
--chart-2: oklch(0.702 0.064 232.365);
--chart-3: oklch(0.662 0.11 341.201);
--chart-4: oklch(0.726 0.059 232.115);
--chart-5: oklch(0.779 0.109 124.626);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.101 0.015 121.789);
--foreground: oklch(1 0 180);
--muted: oklch(0.205 0.005 231.015);
--muted-foreground: oklch(0.685 0.018 231.051);
--popover: oklch(0.101 0.015 121.789);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.101 0.015 121.789);
--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.772 0.102 124.458);
--primary-foreground: oklch(0.099 0.01 121.912);
--secondary: oklch(0.702 0.064 232.365);
--secondary-foreground: oklch(0.092 0.006 226.312);
--accent: oklch(0.662 0.11 341.201);
--accent-foreground: oklch(0.087 0.011 338.199);
--destructive: oklch(0.614 0.206 34.829);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.772 0.102 124.458);
--chart-1: oklch(0.772 0.102 124.458);
--chart-2: oklch(0.702 0.064 232.365);
--chart-3: oklch(0.662 0.11 341.201);
--chart-4: oklch(0.726 0.059 232.115);
--chart-5: oklch(0.779 0.109 124.626);
}