Inchworm Asp is a shadcn/ui theme built around a vivid green primary color (#aceb47) with neutral gray accents (#c5c8c0). The light mode uses a neutral background (#fafcf7). Dark mode keeps the vivid green primary (#aceb47) on a green-tinted background (#080b04).
| Token | Light | Dark |
|---|---|---|
| Background | #fafcf7snow | #080b04black |
| Foreground | #090e02black | #f8f9f6whitesmoke |
| Card | #fafcf7snow | #080b04black |
| Card foreground | #090e02black | #f8f9f6whitesmoke |
| Popover | #fafcf7snow | #080b04black |
| Popover foreground | #090e02black | #f8f9f6whitesmoke |
| Primary | #aceb47greenyellow | #aceb47greenyellow |
| Primary foreground | #000000black | #000000black |
| Secondary | #dededegainsboro | #212220black |
| Secondary foreground | #454644darkslategray | #bbbdb7silver |
| Muted | #e9eae6linen | #171915black |
| Muted foreground | #666e59dimgray | #9ea691darkgray |
| Accent | #c5c8c0silver | #373a31darkslategray |
| Accent foreground | #2c2e28darkslategray | #d0d3calightgrey |
| Destructive | #883302saddlebrown | #e75704orangered |
| Destructive foreground | #fed5bepeachpuff | #ffffffwhite |
| Border | #edeeecwhitesmoke | #1f211cblack |
| Input | #edeeecwhitesmoke | #1f211cblack |
| Ring | #aceb47greenyellow | #aceb47greenyellow |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.98:1 | AAA |
| Text on card | 18.98:1 | AAA |
| Primary button | 14.68:1 | AAA |
| Secondary button | 7.06:1 | AAA |
| Muted text | 4.41:1 | AA Large |
| Accent | 8.14:1 | AAA |
| Destructive | 6.15:1 | AA |
| Text on background | 18.72:1 | AAA |
| Text on card | 18.72:1 | AAA |
| Primary button | 14.68:1 | AAA |
| Secondary button | 8.38:1 | AAA |
| Muted text | 6.99:1 | AA |
| Accent | 7.62:1 | AAA |
| Destructive | 3.64:1 | AA Large |
Paste this into your globals.css to use Inchworm Asp in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.007 123.744);
--foreground: oklch(0.153 0.031 123.525);
--muted: oklch(0.935 0.006 123.741);
--muted-foreground: oklch(0.526 0.035 124.643);
--popover: oklch(0.99 0.007 123.744);
--popover-foreground: oklch(0.153 0.031 123.525);
--card: oklch(0.99 0.007 123.744);
--card-foreground: oklch(0.153 0.031 123.525);
--border: oklch(0.949 0.003 123.694);
--input: oklch(0.949 0.003 123.694);
--primary: oklch(0.867 0.198 128.301);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.901 0.001 123.655);
--secondary-foreground: oklch(0.391 0.002 123.73);
--accent: oklch(0.829 0.012 123.85);
--accent-foreground: oklch(0.298 0.011 124.201);
--destructive: oklch(0.436 0.127 43.347);
--destructive-foreground: oklch(0.902 0.056 51.795);
--ring: oklch(0.867 0.198 128.301);
--chart-1: oklch(0.867 0.198 128.301);
--chart-2: oklch(0.901 0.001 123.655);
--chart-3: oklch(0.829 0.012 123.85);
--chart-4: oklch(0.924 0.001 123.651);
--chart-5: oklch(0.874 0.203 128.469);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.144 0.018 123.237);
--foreground: oklch(0.98 0.004 123.7);
--muted: oklch(0.211 0.009 124.296);
--muted-foreground: oklch(0.714 0.032 124.321);
--popover: oklch(0.144 0.018 123.237);
--popover-foreground: oklch(0.98 0.004 123.7);
--card: oklch(0.144 0.018 123.237);
--card-foreground: oklch(0.98 0.004 123.7);
--border: oklch(0.243 0.008 124.151);
--input: oklch(0.243 0.008 124.151);
--primary: oklch(0.867 0.198 128.301);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.252 0.005 123.942);
--secondary-foreground: oklch(0.795 0.008 123.789);
--accent: oklch(0.343 0.017 124.391);
--accent-foreground: oklch(0.862 0.012 123.853);
--destructive: oklch(0.64 0.193 41.706);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.867 0.198 128.301);
--chart-1: oklch(0.867 0.198 128.301);
--chart-2: oklch(0.252 0.005 123.942);
--chart-3: oklch(0.343 0.017 124.391);
--chart-4: oklch(0.284 0.006 123.959);
--chart-5: oklch(0.874 0.203 128.469);
}