Stimulating is a shadcn/ui theme built around a vivid blue primary color (#2b6de9) with vivid green accents (#6de92b). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid blue primary (#2b6de9) on a neutral background (#020203).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020203black |
| Foreground | #060b14black | #fcfcfdwhite |
| Card | #ffffffwhite | #020203black |
| Card foreground | #060b14black | #fcfcfdwhite |
| Popover | #ffffffwhite | #020203black |
| Popover foreground | #060b14black | #fcfcfdwhite |
| Primary | #2b6de9royalblue | #2b6de9royalblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #e92b6dmediumvioletred | #e92b6dmediumvioletred |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #ded3d7gainsboro | #2c2125darkslategray |
| Muted foreground | #594a4fdarkslategray | #b5a6abdarkgray |
| Accent | #6de92blawngreen | #6de92blawngreen |
| Accent foreground | #1b4107darkgreen | #1b4107darkgreen |
| Destructive | #c82c14firebrick | #ea432achocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #2b6de9royalblue | #2b6de9royalblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.70:1 | AAA |
| Text on card | 19.70:1 | AAA |
| Primary button | 4.69:1 | AA |
| Secondary button | 4.18:1 | AA Large |
| Muted text | 5.72:1 | AA |
| Accent | 7.37:1 | AAA |
| Destructive | 5.51:1 | AA |
| Text on background | 20.20:1 | AAA |
| Text on card | 20.20:1 | AAA |
| Primary button | 4.69:1 | AA |
| Secondary button | 4.18:1 | AA Large |
| Muted text | 6.69:1 | AA |
| Accent | 7.37:1 | AAA |
| Destructive | 3.93: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.147 0.021 259.975);
--muted: oklch(0.877 0.014 354.021);
--muted-foreground: oklch(0.427 0.021 354.966);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.147 0.021 259.975);
--card: oklch(1 0 180);
--card-foreground: oklch(0.147 0.021 259.975);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.566 0.199 261.401);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.615 0.223 7.03);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.829 0.241 137.689);
--accent-foreground: oklch(0.333 0.094 137.33);
--destructive: oklch(0.543 0.195 31.572);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.566 0.199 261.401);
--chart-1: oklch(0.566 0.199 261.401);
--chart-2: oklch(0.615 0.223 7.03);
--chart-3: oklch(0.829 0.241 137.689);
--chart-4: oklch(0.629 0.215 5.254);
--chart-5: oklch(0.566 0.206 261.421);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.088 0.007 258.318);
--foreground: oklch(0.991 0.002 263.051);
--muted: oklch(0.261 0.019 355.575);
--muted-foreground: oklch(0.739 0.018 354.28);
--popover: oklch(0.088 0.007 258.318);
--popover-foreground: oklch(0.991 0.002 263.051);
--card: oklch(0.088 0.007 258.318);
--card-foreground: oklch(0.991 0.002 263.051);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.566 0.199 261.401);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.615 0.223 7.03);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.829 0.241 137.689);
--accent-foreground: oklch(0.333 0.094 137.33);
--destructive: oklch(0.625 0.207 31.649);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.566 0.199 261.401);
--chart-1: oklch(0.566 0.199 261.401);
--chart-2: oklch(0.615 0.223 7.03);
--chart-3: oklch(0.829 0.241 137.689);
--chart-4: oklch(0.629 0.215 5.254);
--chart-5: oklch(0.566 0.206 261.421);
}