Stimulating is a shadcn/ui theme built around a green primary color (#a2aa4b) with muted light green accents (#cecfc4). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#a2aa4b) on a green-tinted background (#0b0c03).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0b0c03black |
| Foreground | #040401black | #f8f8f6whitesmoke |
| Card | #fcfcfcsnow | #0f1005black |
| Card foreground | #000000black | #fafbf9snow |
| Popover | #ffffffwhite | #0b0c03black |
| Popover foreground | #040401black | #f8f8f6whitesmoke |
| Primary | #a2aa4byellowgreen | #a2aa4byellowgreen |
| Primary foreground | #1b1c0cblack | #1b1c0cblack |
| Secondary | #e4e4e2gainsboro | #333428darkslategray |
| Secondary foreground | #4c4d47darkslategray | #cdcec0silver |
| Muted | #f2f3edwhitesmoke | #12120cblack |
| Muted foreground | #656561dimgray | #9d9e9adarkgray |
| Accent | #cecfc4lightgrey | #4e5134darkolivegreen |
| Accent foreground | #34352cdarkslategray | #e2e3d3gainsboro |
| Destructive | #ce3603firebrick | #fb4d13orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a2aa4byellowgreen | #a2aa4byellowgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.52:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 6.89:1 | AA |
| Secondary button | 6.70:1 | AA |
| Muted text | 5.23:1 | AA |
| Accent | 7.87:1 | AAA |
| Destructive | 5.06:1 | AA |
| Text on background | 18.49:1 | AAA |
| Text on card | 18.47:1 | AAA |
| Primary button | 6.89:1 | AA |
| Secondary button | 7.94:1 | AAA |
| Muted text | 6.96:1 | AA |
| Accent | 6.33:1 | AA |
| Destructive | 3.39:1 | AA Large |
Paste this into your globals.css to use Stimulating in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.104 0.015 111.838);
--muted: oklch(0.961 0.008 110.397);
--muted-foreground: oklch(0.507 0.006 110.474);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.104 0.015 111.838);
--card: oklch(0.992 0 161.565);
--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.712 0.12 113.402);
--primary-foreground: oklch(0.222 0.028 112.594);
--secondary: oklch(0.918 0.003 110.308);
--secondary-foreground: oklch(0.417 0.01 110.675);
--accent: oklch(0.85 0.015 110.567);
--accent-foreground: oklch(0.326 0.017 111.184);
--destructive: oklch(0.562 0.195 35.121);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.712 0.12 113.402);
--chart-1: oklch(0.712 0.12 113.402);
--chart-2: oklch(0.918 0.003 110.308);
--chart-3: oklch(0.85 0.015 110.567);
--chart-4: oklch(0.941 0.002 110.29);
--chart-5: oklch(0.723 0.127 113.56);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.149 0.02 111.957);
--foreground: oklch(0.98 0.003 110.301);
--muted: oklch(0.18 0.011 111.414);
--muted-foreground: oklch(0.696 0.006 110.4);
--popover: oklch(0.149 0.02 111.957);
--popover-foreground: oklch(0.98 0.003 110.301);
--card: oklch(0.167 0.023 112.428);
--card-foreground: oklch(0.986 0.002 110.282);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.712 0.12 113.402);
--primary-foreground: oklch(0.222 0.028 112.594);
--secondary: oklch(0.32 0.02 111.419);
--secondary-foreground: oklch(0.847 0.02 110.683);
--accent: oklch(0.424 0.045 112.193);
--accent-foreground: oklch(0.911 0.021 110.676);
--destructive: oklch(0.662 0.219 36.08);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.712 0.12 113.402);
--chart-1: oklch(0.712 0.12 113.402);
--chart-2: oklch(0.32 0.02 111.419);
--chart-3: oklch(0.424 0.045 112.193);
--chart-4: oklch(0.353 0.023 111.454);
--chart-5: oklch(0.723 0.127 113.56);
}