Going is a shadcn/ui theme built around a yellow primary color (#d5d66b) with indigo accents (#6d6bd6). The light mode uses a neutral background (#ffffff). Dark mode keeps the yellow primary (#d5d66b) on a neutral background (#070704).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #070704black |
| Foreground | #000000black | #f9f9f5whitesmoke |
| Card | #fcfcfcsnow | #0a0a05black |
| Card foreground | #000000black | #fbfbf9snow |
| Popover | #ffffffwhite | #070704black |
| Popover foreground | #000000black | #f9f9f5whitesmoke |
| Primary | #d5d66bdarkkhaki | #d5d66bdarkkhaki |
| Primary foreground | #0c0c03black | #0c0c03black |
| Secondary | #6d6bd6slateblue | #6d6bd6slateblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #dadae2gainsboro | #1d1d25black |
| Muted foreground | #555568dimgray | #9897aadarkgray |
| Accent | #6d6bd6slateblue | #6d6bd6slateblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #e35102orangered | #fd610dorangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d5d66bdarkkhaki | #d5d66bdarkkhaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 12.80:1 | AAA |
| Secondary button | 4.45:1 | AA Large |
| Muted text | 5.23:1 | AA |
| Accent | 4.45:1 | AA Large |
| Destructive | 3.85:1 | AA Large |
| Text on background | 19.14:1 | AAA |
| Text on card | 19.14:1 | AAA |
| Primary button | 12.80:1 | AAA |
| Secondary button | 4.45:1 | AA Large |
| Muted text | 5.83:1 | AA |
| Accent | 4.45:1 | AA Large |
| Destructive | 6.86:1 | AA |
Paste this into your globals.css to use Going in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.89 0.011 286.946);
--muted-foreground: oklch(0.457 0.031 285.889);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--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.854 0.131 109.738);
--primary-foreground: oklch(0.151 0.021 109.345);
--secondary: oklch(0.582 0.16 280.939);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.582 0.16 280.939);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.627 0.194 40.425);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.854 0.131 109.738);
--chart-1: oklch(0.854 0.131 109.738);
--chart-2: oklch(0.582 0.16 280.939);
--chart-3: oklch(0.582 0.16 280.939);
--chart-4: oklch(0.616 0.147 281.957);
--chart-5: oklch(0.862 0.136 109.815);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.01 108.459);
--foreground: oklch(0.982 0.005 107.263);
--muted: oklch(0.235 0.015 285.934);
--muted-foreground: oklch(0.684 0.028 286.413);
--popover: oklch(0.125 0.01 108.459);
--popover-foreground: oklch(0.982 0.005 107.263);
--card: oklch(0.143 0.012 108.459);
--card-foreground: oklch(0.988 0.003 107.232);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.854 0.131 109.738);
--primary-foreground: oklch(0.151 0.021 109.345);
--secondary: oklch(0.582 0.16 280.939);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.582 0.16 280.939);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.686 0.205 41.488);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.854 0.131 109.738);
--chart-1: oklch(0.854 0.131 109.738);
--chart-2: oklch(0.582 0.16 280.939);
--chart-3: oklch(0.582 0.16 280.939);
--chart-4: oklch(0.616 0.147 281.957);
--chart-5: oklch(0.862 0.136 109.815);
}