Going is a shadcn/ui theme built around a muted green primary color (#3e5b43) with muted teal accents (#3e5b51). The light mode uses a neutral background (#f8fcf9). Dark mode keeps the muted green primary (#3e5b43) on a neutral background (#030704).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcf9mintcream | #030704black |
| Foreground | #041607black | #fcfdfcwhite |
| Card | #f4faf5whitesmoke | #050a06black |
| Card foreground | #031106black | #ffffffwhite |
| Popover | #f8fcf9mintcream | #030704black |
| Popover foreground | #041607black | #fcfdfcwhite |
| Primary | #3e5b43darkslategray | #3e5b43darkslategray |
| Primary foreground | #e1eae2gainsboro | #e1eae2gainsboro |
| Secondary | #485b3edarkolivegreen | #485b3edarkolivegreen |
| Secondary foreground | #e4eae1gainsboro | #e4eae1gainsboro |
| Muted | #f1f5efwhitesmoke | #0c100ablack |
| Muted foreground | #4e5c47darkolivegreen | #aab8a3darkgray |
| Accent | #3e5b51darkslategray | #3e5b51darkslategray |
| Accent foreground | #e1eae7gainsboro | #e1eae7gainsboro |
| Destructive | #cb4510chocolate | #ee652ftomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #3e5b43darkslategray | #3e5b43darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.04:1 | AAA |
| Text on card | 18.31:1 | AAA |
| Primary button | 6.13:1 | AA |
| Secondary button | 6.04:1 | AA |
| Muted text | 6.48:1 | AA |
| Accent | 6.06:1 | AA |
| Destructive | 4.77:1 | AA |
| Text on background | 19.88:1 | AAA |
| Text on card | 19.93:1 | AAA |
| Primary button | 6.13:1 | AA |
| Secondary button | 6.04:1 | AA |
| Muted text | 9.23:1 | AAA |
| Accent | 6.06:1 | AA |
| Destructive | 6.56:1 | AA |
Paste this into your globals.css to use Going in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.006 150.737);
--foreground: oklch(0.177 0.039 148.277);
--muted: oklch(0.966 0.01 134.876);
--muted-foreground: oklch(0.457 0.038 135.267);
--popover: oklch(0.987 0.006 150.737);
--popover-foreground: oklch(0.177 0.039 148.277);
--card: oklch(0.98 0.009 150.694);
--card-foreground: oklch(0.16 0.034 148.894);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.441 0.053 149.034);
--primary-foreground: oklch(0.929 0.015 150.6);
--secondary: oklch(0.447 0.052 135.475);
--secondary-foreground: oklch(0.93 0.015 134.905);
--accent: oklch(0.445 0.038 171.767);
--accent-foreground: oklch(0.93 0.011 174.233);
--destructive: oklch(0.573 0.179 38.313);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.441 0.053 149.034);
--chart-1: oklch(0.441 0.053 149.034);
--chart-2: oklch(0.447 0.052 135.475);
--chart-3: oklch(0.445 0.038 171.767);
--chart-4: oklch(0.477 0.056 135.485);
--chart-5: oklch(0.445 0.06 148.757);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.12 0.013 150.232);
--foreground: oklch(0.993 0.001 150.81);
--muted: oklch(0.166 0.015 135.288);
--muted-foreground: oklch(0.766 0.034 135.05);
--popover: oklch(0.12 0.013 150.232);
--popover-foreground: oklch(0.993 0.001 150.81);
--card: oklch(0.137 0.014 150.232);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.441 0.053 149.034);
--primary-foreground: oklch(0.929 0.015 150.6);
--secondary: oklch(0.447 0.052 135.475);
--secondary-foreground: oklch(0.93 0.015 134.905);
--accent: oklch(0.445 0.038 171.767);
--accent-foreground: oklch(0.93 0.011 174.233);
--destructive: oklch(0.672 0.181 40.285);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.441 0.053 149.034);
--chart-1: oklch(0.441 0.053 149.034);
--chart-2: oklch(0.447 0.052 135.475);
--chart-3: oklch(0.445 0.038 171.767);
--chart-4: oklch(0.477 0.056 135.485);
--chart-5: oklch(0.445 0.06 148.757);
}