Fixed Sumptuous Sage is a shadcn/ui theme built around a muted green primary color (#b3b792) with vivid light green accents (#a1f7be). The light mode uses an orange-tinted background (#e5d2b8). Dark mode switches to a vivid light pink primary (#f7a1da) on a pink-tinted background (#0a0509).
| Token | Light | Dark |
|---|---|---|
| Background | #e5d2b8wheat | #0a0509black |
| Foreground | #000000black | #fdfcfdwhite |
| Card | #809671gray | #0a0509black |
| Card foreground | #ffffffwhite | #fdfcfdwhite |
| Popover | #fdfcfdwhite | #0a0509black |
| Popover foreground | #090106black | #fdfcfdwhite |
| Primary | #b3b792darkgray | #f7a1daplum |
| Primary foreground | #5e0841indigo | #5e0841indigo |
| Secondary | #e5e0d8gainsboro | #a1f7bepalegreen |
| Secondary foreground | #085e25darkgreen | #085e25darkgreen |
| Muted | #d1e6d8gainsboro | #192e20black |
| Muted foreground | #4f6456dimgray | #9bb0a2darkgray |
| Accent | #a1f7bepalegreen | #a1f7bepalegreen |
| Accent foreground | #085e25darkgreen | #085e25darkgreen |
| Destructive | #641e02maroon | #e14305orangered |
| Destructive foreground | #fdb79bburlywood | #ffffffwhite |
| Border | #e4e2e3gainsboro | #1a191ablack |
| Input | #e4e2e3gainsboro | #1a191ablack |
| Ring | #b3b792darkgray | #f7a1daplum |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 14.24:1 | AAA |
| Text on card | 3.22:1 | AA Large |
| Primary button | 6.36:1 | AA |
| Secondary button | 6.05:1 | AA |
| Muted text | 4.86:1 | AA |
| Accent | 6.27:1 | AA |
| Destructive | 7.19:1 | AAA |
| Text on background | 19.76:1 | AAA |
| Text on card | 19.76:1 | AAA |
| Primary button | 6.97:1 | AA |
| Secondary button | 6.27:1 | AA |
| Muted text | 6.25:1 | AA |
| Accent | 6.27:1 | AA |
| Destructive | 4.19:1 | AA Large |
Paste this into your globals.css to use Fixed Sumptuous Sage in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.873 0.041 75.764);
--foreground: oklch(0 0 0);
--muted: oklch(0.905 0.03 156.579);
--muted-foreground: oklch(0.481 0.034 155.711);
--popover: oklch(0.992 0.002 337.309);
--popover-foreground: oklch(0.104 0.031 337.824);
--card: oklch(0.646 0.059 132.911);
--card-foreground: oklch(1 0 180);
--border: oklch(0.915 0.002 337.317);
--input: oklch(0.915 0.002 337.317);
--primary: oklch(0.767 0.051 112.618);
--primary-foreground: oklch(0.326 0.128 346.401);
--secondary: oklch(0.908 0.012 79.777);
--secondary-foreground: oklch(0.421 0.117 148.212);
--accent: oklch(0.906 0.115 154.319);
--accent-foreground: oklch(0.421 0.117 148.212);
--destructive: oklch(0.343 0.107 39.05);
--destructive-foreground: oklch(0.838 0.09 42.477);
--ring: oklch(0.767 0.051 112.618);
--chart-1: oklch(0.767 0.051 112.618);
--chart-2: oklch(0.906 0.115 154.319);
--chart-3: oklch(0.906 0.115 154.319);
--chart-4: oklch(0.919 0.098 154.845);
--chart-5: oklch(0.767 0.051 112.618);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.126 0.016 337.539);
--foreground: oklch(0.992 0.001 337.288);
--muted: oklch(0.28 0.038 154.039);
--muted-foreground: oklch(0.738 0.031 156.374);
--popover: oklch(0.126 0.016 337.539);
--popover-foreground: oklch(0.992 0.001 337.288);
--card: oklch(0.126 0.016 337.539);
--card-foreground: oklch(0.992 0.001 337.288);
--border: oklch(0.214 0.003 337.553);
--input: oklch(0.214 0.003 337.553);
--primary: oklch(0.811 0.124 340.117);
--primary-foreground: oklch(0.326 0.128 346.401);
--secondary: oklch(0.906 0.115 154.319);
--secondary-foreground: oklch(0.421 0.117 148.212);
--accent: oklch(0.906 0.115 154.319);
--accent-foreground: oklch(0.421 0.117 148.212);
--destructive: oklch(0.608 0.203 36.704);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.811 0.124 340.117);
--chart-1: oklch(0.811 0.124 340.117);
--chart-2: oklch(0.906 0.115 154.319);
--chart-3: oklch(0.906 0.115 154.319);
--chart-4: oklch(0.919 0.098 154.845);
--chart-5: oklch(0.811 0.128 340.215);
}