Excitable is a shadcn/ui theme built around a muted deep green primary color (#3d4e36) with muted deep violet accents (#47364e). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep green primary (#3d4e36) on a neutral background (#020401).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020401black |
| Foreground | #020501black | #fcfdfcwhite |
| Card | #ffffffwhite | #020401black |
| Card foreground | #020501black | #fcfdfcwhite |
| Popover | #ffffffwhite | #020401black |
| Popover foreground | #020501black | #fcfdfcwhite |
| Primary | #3d4e36darkslategray | #3d4e36darkslategray |
| Primary foreground | #d9e2d5gainsboro | #d9e2d5gainsboro |
| Secondary | #47364edarkslategray | #47364edarkslategray |
| Secondary foreground | #ded5e2gainsboro | #ded5e2gainsboro |
| Muted | #ede4f1lavender | #170e1bblack |
| Muted foreground | #584b5ddimgray | #afa2b4darkgray |
| Accent | #47364edarkslategray | #47364edarkslategray |
| Accent foreground | #ded5e2gainsboro | #ded5e2gainsboro |
| Destructive | #c53902firebrick | #fd510dorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #3d4e36darkslategray | #3d4e36darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.49:1 | AAA |
| Text on card | 20.49:1 | AAA |
| Primary button | 6.72:1 | AA |
| Secondary button | 7.68:1 | AAA |
| Muted text | 6.58:1 | AA |
| Accent | 7.68:1 | AAA |
| Destructive | 5.30:1 | AA |
| Text on background | 20.18:1 | AAA |
| Text on card | 20.18:1 | AAA |
| Primary button | 6.72:1 | AA |
| Secondary button | 7.68:1 | AAA |
| Muted text | 7.75:1 | AAA |
| Accent | 7.68:1 | AAA |
| Destructive | 3.31:1 | AA Large |
Paste this into your globals.css to use Excitable in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.102 0.024 134.285);
--muted: oklch(0.93 0.02 316.546);
--muted-foreground: oklch(0.433 0.034 316.376);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.102 0.024 134.285);
--card: oklch(1 0 180);
--card-foreground: oklch(0.102 0.024 134.285);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.403 0.044 136.99);
--primary-foreground: oklch(0.901 0.02 136.675);
--secondary: oklch(0.363 0.046 316.228);
--secondary-foreground: oklch(0.884 0.02 316.542);
--accent: oklch(0.363 0.046 316.228);
--accent-foreground: oklch(0.884 0.02 316.542);
--destructive: oklch(0.55 0.184 36.759);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.403 0.044 136.99);
--chart-1: oklch(0.403 0.044 136.99);
--chart-2: oklch(0.363 0.046 316.228);
--chart-3: oklch(0.363 0.046 316.228);
--chart-4: oklch(0.39 0.05 316.22);
--chart-5: oklch(0.407 0.051 137.062);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.099 0.017 134.924);
--foreground: oklch(0.993 0.001 136.612);
--muted: oklch(0.182 0.03 316.103);
--muted-foreground: oklch(0.728 0.03 316.488);
--popover: oklch(0.099 0.017 134.924);
--popover-foreground: oklch(0.993 0.001 136.612);
--card: oklch(0.099 0.017 134.924);
--card-foreground: oklch(0.993 0.001 136.612);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.403 0.044 136.99);
--primary-foreground: oklch(0.901 0.02 136.675);
--secondary: oklch(0.363 0.046 316.228);
--secondary-foreground: oklch(0.884 0.02 316.542);
--accent: oklch(0.363 0.046 316.228);
--accent-foreground: oklch(0.884 0.02 316.542);
--destructive: oklch(0.668 0.218 37.273);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.403 0.044 136.99);
--chart-1: oklch(0.403 0.044 136.99);
--chart-2: oklch(0.363 0.046 316.228);
--chart-3: oklch(0.363 0.046 316.228);
--chart-4: oklch(0.39 0.05 316.22);
--chart-5: oklch(0.407 0.051 137.062);
}