Steep Vitalize (Green/Red/Purple) is a shadcn/ui theme built around a green primary color (#31a546) with red accents (#a54631). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#31a546) on a neutral background (#030704).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030704black |
| Foreground | #051508black | #f8fbf9mintcream |
| Card | #ffffffwhite | #030704black |
| Card foreground | #051508black | #f8fbf9mintcream |
| Popover | #ffffffwhite | #030704black |
| Popover foreground | #051508black | #f8fbf9mintcream |
| Primary | #31a546seagreen | #31a546seagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #4631a5darkslateblue | #4631a5darkslateblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #d6d5ddgainsboro | #24222adarkslategray |
| Muted foreground | #5b5a63dimgray | #9e9ca5darkgray |
| Accent | #a54631sienna | #a54631sienna |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #7e0a01maroon | #fd3426orangered |
| Destructive foreground | #feb8b3lightpink | #ffffffwhite |
| Border | #eceeedwhitesmoke | #181b19black |
| Input | #eceeedwhitesmoke | #181b19black |
| Ring | #31a546seagreen | #31a546seagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.79:1 | AAA |
| Text on card | 18.79:1 | AAA |
| Primary button | 3.18:1 | AA Large |
| Secondary button | 9.33:1 | AAA |
| Muted text | 4.67:1 | AA |
| Accent | 5.94:1 | AA |
| Destructive | 6.58:1 | AA |
| Text on background | 19.46:1 | AAA |
| Text on card | 19.46:1 | AAA |
| Primary button | 3.18:1 | AA Large |
| Secondary button | 9.33:1 | AAA |
| Muted text | 5.77:1 | AA |
| Accent | 5.94:1 | AA |
| Destructive | 3.68:1 | AA Large |
Paste this into your globals.css to use Steep Vitalize (Green/Red/Purple) in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.175 0.035 149.025);
--muted: oklch(0.876 0.011 294.601);
--muted-foreground: oklch(0.471 0.015 294.222);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.175 0.035 149.025);
--card: oklch(1 0 180);
--card-foreground: oklch(0.175 0.035 149.025);
--border: oklch(0.947 0.002 151.374);
--input: oklch(0.947 0.002 151.374);
--primary: oklch(0.637 0.168 146.286);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.415 0.176 284.085);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.516 0.13 34.102);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.378 0.148 30.305);
--destructive-foreground: oklch(0.847 0.082 23.547);
--ring: oklch(0.637 0.168 146.286);
--chart-1: oklch(0.637 0.168 146.286);
--chart-2: oklch(0.415 0.176 284.085);
--chart-3: oklch(0.516 0.13 34.102);
--chart-4: oklch(0.435 0.186 283.96);
--chart-5: oklch(0.644 0.175 146.056);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.12 0.012 150.873);
--foreground: oklch(0.986 0.004 151.343);
--muted: oklch(0.259 0.014 293.782);
--muted-foreground: oklch(0.697 0.014 294.457);
--popover: oklch(0.12 0.012 150.873);
--popover-foreground: oklch(0.986 0.004 151.343);
--card: oklch(0.12 0.012 150.873);
--card-foreground: oklch(0.986 0.004 151.343);
--border: oklch(0.217 0.004 151.109);
--input: oklch(0.217 0.004 151.109);
--primary: oklch(0.637 0.168 146.286);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.415 0.176 284.085);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.516 0.13 34.102);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.645 0.236 29.411);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.637 0.168 146.286);
--chart-1: oklch(0.637 0.168 146.286);
--chart-2: oklch(0.415 0.176 284.085);
--chart-3: oklch(0.516 0.13 34.102);
--chart-4: oklch(0.435 0.186 283.96);
--chart-5: oklch(0.644 0.175 146.056);
}