Steep is a shadcn/ui theme built around a neutral gray primary color (#a299a3) with neutral gray accents (#9ba399). The light mode uses a neutral background (#fbf8fc). Dark mode keeps the neutral gray primary (#a299a3) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbf8fcghostwhite | #000000black |
| Foreground | #0c020dblack | #ffffffwhite |
| Card | #faf4fbghostwhite | #030303black |
| Card foreground | #080109black | #ffffffwhite |
| Popover | #fbf8fcghostwhite | #000000black |
| Popover foreground | #0c020dblack | #ffffffwhite |
| Primary | #a299a3darkgray | #a299a3darkgray |
| Primary foreground | #050505black | #050505black |
| Secondary | #9ba399darkgray | #9ba399darkgray |
| Secondary foreground | #050505black | #050505black |
| Muted | #eaf1e9linen | #0f160eblack |
| Muted foreground | #505f4edarkolivegreen | #a2b1a0darkgray |
| Accent | #9ba399darkgray | #9ba399darkgray |
| Accent foreground | #050505black | #050505black |
| Destructive | #c62306firebrick | #f8492atomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a299a3darkgray | #a299a3darkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.34:1 | AAA |
| Text on card | 19.04:1 | AAA |
| Primary button | 7.40:1 | AAA |
| Secondary button | 7.84:1 | AAA |
| Muted text | 5.92:1 | AA |
| Accent | 7.84:1 | AAA |
| Destructive | 5.76:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 7.40:1 | AAA |
| Secondary button | 7.84:1 | AAA |
| Muted text | 8.17:1 | AAA |
| Accent | 7.84:1 | AAA |
| Destructive | 3.50:1 | AA Large |
Paste this into your globals.css to use Steep in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.007 321.612);
--foreground: oklch(0.119 0.039 323.609);
--muted: oklch(0.951 0.014 141.551);
--muted-foreground: oklch(0.469 0.033 141.393);
--popover: oklch(0.982 0.007 321.612);
--popover-foreground: oklch(0.119 0.039 323.609);
--card: oklch(0.974 0.01 321.622);
--card-foreground: oklch(0.103 0.034 324.078);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.694 0.017 321.66);
--primary-foreground: oklch(0.115 0.002 321.749);
--secondary: oklch(0.706 0.017 141.525);
--secondary-foreground: oklch(0.116 0.002 141.437);
--accent: oklch(0.706 0.017 141.525);
--accent-foreground: oklch(0.116 0.002 141.437);
--destructive: oklch(0.533 0.2 31.661);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.694 0.017 321.66);
--chart-1: oklch(0.694 0.017 321.66);
--chart-2: oklch(0.706 0.017 141.525);
--chart-3: oklch(0.706 0.017 141.525);
--chart-4: oklch(0.73 0.015 141.533);
--chart-5: oklch(0.691 0.027 321.7);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.19 0.02 141.295);
--muted-foreground: oklch(0.744 0.03 141.48);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.694 0.017 321.66);
--primary-foreground: oklch(0.115 0.002 321.749);
--secondary: oklch(0.706 0.017 141.525);
--secondary-foreground: oklch(0.116 0.002 141.437);
--accent: oklch(0.706 0.017 141.525);
--accent-foreground: oklch(0.116 0.002 141.437);
--destructive: oklch(0.655 0.216 32.369);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.694 0.017 321.66);
--chart-1: oklch(0.694 0.017 321.66);
--chart-2: oklch(0.706 0.017 141.525);
--chart-3: oklch(0.706 0.017 141.525);
--chart-4: oklch(0.73 0.015 141.533);
--chart-5: oklch(0.691 0.027 321.7);
}