Dynamo is a shadcn/ui theme built around a vivid deep yellow primary color (#121302) with vivid deep green accents (#091302). The light mode uses a neutral background (#fcfcf8). Dark mode keeps the vivid deep yellow primary (#121302) on a yellow-tinted background (#0a0a05).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfcf8snow | #0a0a05black |
| Foreground | #080901black | #fafaf5whitesmoke |
| Card | #fcfcf8snow | #0a0a05black |
| Card foreground | #080901black | #fafaf5whitesmoke |
| Popover | #fcfcf8snow | #0a0a05black |
| Popover foreground | #080901black | #fafaf5whitesmoke |
| Primary | #121302black | #121302black |
| Primary foreground | #c3d011goldenrod | #c3d011goldenrod |
| Secondary | #130b02black | #130b02black |
| Secondary foreground | #d07d11chocolate | #d07d11chocolate |
| Muted | #ece6dfantiquewhite | #201a13black |
| Muted foreground | #43403ddarkslategray | #c2c0bcsilver |
| Accent | #091302black | #091302black |
| Accent foreground | #63d011lawngreen | #63d011lawngreen |
| Destructive | #7a0f06maroon | #db1c0ared |
| Destructive foreground | #fcbcb6lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #121302black | #121302black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.44:1 | AAA |
| Text on card | 19.44:1 | AAA |
| Primary button | 11.04:1 | AAA |
| Secondary button | 6.14:1 | AA |
| Muted text | 8.32:1 | AAA |
| Accent | 9.56:1 | AAA |
| Destructive | 6.85:1 | AA |
| Text on background | 18.94:1 | AAA |
| Text on card | 18.94:1 | AAA |
| Primary button | 11.04:1 | AAA |
| Secondary button | 6.14:1 | AA |
| Muted text | 9.47:1 | AAA |
| Accent | 9.56:1 | AAA |
| Destructive | 5.01:1 | AA |
Paste this into your globals.css to use Dynamo in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.006 109.587);
--foreground: oklch(0.135 0.024 111.532);
--muted: oklch(0.928 0.011 74.88);
--muted-foreground: oklch(0.374 0.007 74.829);
--popover: oklch(0.99 0.006 109.587);
--popover-foreground: oklch(0.135 0.024 111.532);
--card: oklch(0.99 0.006 109.587);
--card-foreground: oklch(0.135 0.024 111.532);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.179 0.036 112.49);
--primary-foreground: oklch(0.819 0.182 114.179);
--secondary: oklch(0.158 0.027 80.331);
--secondary-foreground: oklch(0.664 0.146 64.278);
--accent: oklch(0.17 0.041 130.86);
--accent-foreground: oklch(0.762 0.225 136.646);
--destructive: oklch(0.372 0.141 30.223);
--destructive-foreground: oklch(0.851 0.075 24.655);
--ring: oklch(0.179 0.036 112.49);
--chart-1: oklch(0.179 0.036 112.49);
--chart-2: oklch(0.158 0.027 80.331);
--chart-3: oklch(0.17 0.041 130.86);
--chart-4: oklch(0.204 0.038 73.536);
--chart-5: oklch(0.18 0.037 112.56);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.143 0.012 110.515);
--foreground: oklch(0.983 0.007 109.612);
--muted: oklch(0.223 0.015 74.301);
--muted-foreground: oklch(0.808 0.006 74.909);
--popover: oklch(0.143 0.012 110.515);
--popover-foreground: oklch(0.983 0.007 109.612);
--card: oklch(0.143 0.012 110.515);
--card-foreground: oklch(0.983 0.007 109.612);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.179 0.036 112.49);
--primary-foreground: oklch(0.819 0.182 114.179);
--secondary: oklch(0.158 0.027 80.331);
--secondary-foreground: oklch(0.664 0.146 64.278);
--accent: oklch(0.17 0.041 130.86);
--accent-foreground: oklch(0.762 0.225 136.646);
--destructive: oklch(0.569 0.222 30.067);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.179 0.036 112.49);
--chart-1: oklch(0.179 0.036 112.49);
--chart-2: oklch(0.158 0.027 80.331);
--chart-3: oklch(0.17 0.041 130.86);
--chart-4: oklch(0.204 0.038 73.536);
--chart-5: oklch(0.18 0.037 112.56);
}