Steep is a shadcn/ui theme built around a near-black primary color (#020508) with near-white accents (#e9eaec). The light mode uses a neutral background (#f8fafc). Dark mode keeps the near-black primary (#020508) on a neutral background (#030507).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fafcghostwhite | #030507black |
| Foreground | #000000black | #f9fafbghostwhite |
| Card | #f8fafcghostwhite | #030507black |
| Card foreground | #000000black | #f9fafbghostwhite |
| Popover | #f8fafcghostwhite | #030507black |
| Popover foreground | #000000black | #f9fafbghostwhite |
| Primary | #020508black | #020508black |
| Primary foreground | #6396d9cornflowerblue | #6396d9cornflowerblue |
| Secondary | #e9eaeclavender | #1d2125black |
| Secondary foreground | #4c5157darkslategray | #b2b9c2silver |
| Muted | #dfe2e7gainsboro | #181c20black |
| Muted foreground | #393f46darkslategray | #b9bec6silver |
| Accent | #e9eaeclavender | #1d2125black |
| Accent foreground | #4c5157darkslategray | #b2b9c2silver |
| Destructive | #81150emaroon | #eb493dtomato |
| Destructive foreground | #f9cbc8pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #020508black | #020508black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.02:1 | AAA |
| Text on card | 20.02:1 | AAA |
| Primary button | 6.71:1 | AA |
| Secondary button | 6.67:1 | AA |
| Muted text | 8.21:1 | AAA |
| Accent | 6.67:1 | AA |
| Destructive | 7.01:1 | AAA |
| Text on background | 19.53:1 | AAA |
| Text on card | 19.53:1 | AAA |
| Primary button | 6.71:1 | AA |
| Secondary button | 8.20:1 | AAA |
| Muted text | 9.20:1 | AAA |
| Accent | 8.20:1 | AAA |
| Destructive | 3.79:1 | AA Large |
Paste this into your globals.css to use Steep in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.003 254.972);
--foreground: oklch(0 0 0);
--muted: oklch(0.913 0.007 254.995);
--muted-foreground: oklch(0.365 0.015 255.132);
--popover: oklch(0.983 0.003 254.972);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.983 0.003 254.972);
--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.109 0.014 245.995);
--primary-foreground: oklch(0.666 0.114 255.584);
--secondary: oklch(0.938 0.003 254.969);
--secondary-foreground: oklch(0.432 0.012 255.091);
--accent: oklch(0.938 0.003 254.969);
--accent-foreground: oklch(0.432 0.012 255.091);
--destructive: oklch(0.392 0.144 29.426);
--destructive-foreground: oklch(0.881 0.053 22.981);
--ring: oklch(0.109 0.014 245.995);
--chart-1: oklch(0.109 0.014 245.995);
--chart-2: oklch(0.938 0.003 254.969);
--chart-3: oklch(0.938 0.003 254.969);
--chart-4: oklch(0.961 0.002 254.963);
--chart-5: oklch(0.109 0.015 245.514);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.113 0.007 250.43);
--foreground: oklch(0.984 0.002 254.966);
--muted: oklch(0.223 0.01 255.152);
--muted-foreground: oklch(0.801 0.012 255.03);
--popover: oklch(0.113 0.007 250.43);
--popover-foreground: oklch(0.984 0.002 254.966);
--card: oklch(0.113 0.007 250.43);
--card-foreground: oklch(0.984 0.002 254.966);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.109 0.014 245.995);
--primary-foreground: oklch(0.666 0.114 255.584);
--secondary: oklch(0.245 0.01 255.137);
--secondary-foreground: oklch(0.783 0.016 255.053);
--accent: oklch(0.245 0.01 255.137);
--accent-foreground: oklch(0.783 0.016 255.053);
--destructive: oklch(0.633 0.2 28.266);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.109 0.014 245.995);
--chart-1: oklch(0.109 0.014 245.995);
--chart-2: oklch(0.245 0.01 255.137);
--chart-3: oklch(0.245 0.01 255.137);
--chart-4: oklch(0.276 0.012 255.145);
--chart-5: oklch(0.109 0.015 245.514);
}