Reserve is a shadcn/ui theme built around a green primary color (#b0d548) with muted light green accents (#cfd2c6). The light mode uses a neutral background (#fbfdf7). Dark mode keeps the green primary (#b0d548) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdf7snow | #000000black |
| Foreground | #111504black | #fbfbf8snow |
| Card | #fafcf2floralwhite | #030303black |
| Card foreground | #0d1103black | #fdfdfcwhite |
| Popover | #fbfdf7snow | #000000black |
| Popover foreground | #111504black | #fbfbf8snow |
| Primary | #b0d548yellowgreen | #b0d548yellowgreen |
| Primary foreground | #35430fdarkolivegreen | #35430fdarkolivegreen |
| Secondary | #cfd2c6lightgrey | #161810black |
| Secondary foreground | #36392ddarkslategray | #b5be9ddarkgray |
| Muted | #e4e5e1gainsboro | #1d1e1ablack |
| Muted foreground | #545945darkolivegreen | #b5baa6darkgray |
| Accent | #cfd2c6lightgrey | #161810black |
| Accent foreground | #36392ddarkslategray | #b5be9ddarkgray |
| Destructive | #911308darkred | #f54838tomato |
| Destructive foreground | #fcd2cfpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b0d548yellowgreen | #b0d548yellowgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.13:1 | AAA |
| Text on card | 18.49:1 | AAA |
| Primary button | 6.37:1 | AA |
| Secondary button | 7.66:1 | AAA |
| Muted text | 5.72:1 | AA |
| Accent | 7.66:1 | AAA |
| Destructive | 6.61:1 | AA |
| Text on background | 20.25:1 | AAA |
| Text on card | 20.31:1 | AAA |
| Primary button | 6.37:1 | AA |
| Secondary button | 9.18:1 | AAA |
| Muted text | 8.43:1 | AAA |
| Accent | 9.18:1 | AAA |
| Destructive | 3.58:1 | AA Large |
Paste this into your globals.css to use Reserve in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.009 118.725);
--foreground: oklch(0.187 0.034 121.277);
--muted: oklch(0.919 0.005 118.654);
--muted-foreground: oklch(0.454 0.033 119.85);
--popover: oklch(0.992 0.009 118.725);
--popover-foreground: oklch(0.187 0.034 121.277);
--card: oklch(0.987 0.014 118.806);
--card-foreground: oklch(0.169 0.03 120.478);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.821 0.17 123.052);
--primary-foreground: oklch(0.357 0.076 123.208);
--secondary: oklch(0.857 0.016 118.884);
--secondary-foreground: oklch(0.336 0.019 119.586);
--accent: oklch(0.857 0.016 118.884);
--accent-foreground: oklch(0.336 0.019 119.586);
--destructive: oklch(0.422 0.161 30.121);
--destructive-foreground: oklch(0.9 0.048 24.178);
--ring: oklch(0.821 0.17 123.052);
--chart-1: oklch(0.821 0.17 123.052);
--chart-2: oklch(0.857 0.016 118.884);
--chart-3: oklch(0.857 0.016 118.884);
--chart-4: oklch(0.879 0.013 118.828);
--chart-5: oklch(0.829 0.176 123.236);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.988 0.004 118.641);
--muted: oklch(0.232 0.006 119.055);
--muted-foreground: oklch(0.78 0.029 119.22);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.988 0.004 118.641);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.994 0.002 118.604);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.821 0.17 123.052);
--primary-foreground: oklch(0.357 0.076 123.208);
--secondary: oklch(0.206 0.016 119.938);
--secondary-foreground: oklch(0.785 0.046 119.595);
--accent: oklch(0.206 0.016 119.938);
--accent-foreground: oklch(0.785 0.046 119.595);
--destructive: oklch(0.648 0.211 29.297);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.821 0.17 123.052);
--chart-1: oklch(0.821 0.17 123.052);
--chart-2: oklch(0.206 0.016 119.938);
--chart-3: oklch(0.206 0.016 119.938);
--chart-4: oklch(0.244 0.021 120.095);
--chart-5: oklch(0.829 0.176 123.236);
}