Dynamo is a shadcn/ui theme built around a yellow primary color (#d5b162) with violet accents (#b162d5). The light mode uses a neutral background (#fefdfb). Dark mode keeps the yellow primary (#d5b162) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fefdfbsnow | #000000black |
| Foreground | #000000black | #fdfdfcwhite |
| Card | #fefdfbsnow | #000000black |
| Card foreground | #000000black | #fdfdfcwhite |
| Popover | #fefdfbsnow | #000000black |
| Popover foreground | #000000black | #fdfdfcwhite |
| Primary | #d5b162darkkhaki | #d5b162darkkhaki |
| Primary foreground | #040301black | #040301black |
| Secondary | #62d5b1mediumaquamarine | #62d5b1mediumaquamarine |
| Secondary foreground | #010403black | #010403black |
| Muted | #dde9e5gainsboro | #16221eblack |
| Muted foreground | #435b53darkslategray | #a4bcb4darkgray |
| Accent | #b162d5mediumorchid | #b162d5mediumorchid |
| Accent foreground | #000000black | #000000black |
| Destructive | #9c3211saddlebrown | #e8582cchocolate |
| Destructive foreground | #fce9e3mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d5b162darkkhaki | #d5b162darkkhaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.66:1 | AAA |
| Text on card | 20.66:1 | AAA |
| Primary button | 10.08:1 | AAA |
| Secondary button | 11.46:1 | AAA |
| Muted text | 5.88:1 | AA |
| Accent | 5.56:1 | AA |
| Destructive | 6.22:1 | AA |
| Text on background | 20.63:1 | AAA |
| Text on card | 20.63:1 | AAA |
| Primary button | 10.08:1 | AAA |
| Secondary button | 11.46:1 | AAA |
| Muted text | 8.15:1 | AAA |
| Accent | 5.56:1 | AA |
| Destructive | 3.59:1 | AA Large |
Paste this into your globals.css to use Dynamo in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 86.02);
--foreground: oklch(0 0 0);
--muted: oklch(0.923 0.013 175.204);
--muted-foreground: oklch(0.449 0.031 173.394);
--popover: oklch(0.994 0.003 86.02);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.994 0.003 86.02);
--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.776 0.107 85.004);
--primary-foreground: oklch(0.098 0.012 91.965);
--secondary: oklch(0.797 0.118 169.784);
--secondary-foreground: oklch(0.099 0.012 175.833);
--accent: oklch(0.633 0.181 313.935);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.471 0.147 36.258);
--destructive-foreground: oklch(0.948 0.022 37.648);
--ring: oklch(0.776 0.107 85.004);
--chart-1: oklch(0.776 0.107 85.004);
--chart-2: oklch(0.797 0.118 169.784);
--chart-3: oklch(0.633 0.181 313.935);
--chart-4: oklch(0.811 0.111 170.45);
--chart-5: oklch(0.78 0.111 84.846);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.001 86.01);
--muted: oklch(0.239 0.017 173.292);
--muted-foreground: oklch(0.774 0.028 174.519);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.993 0.001 86.01);
--card: oklch(0 0 0);
--card-foreground: oklch(0.993 0.001 86.01);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.776 0.107 85.004);
--primary-foreground: oklch(0.098 0.012 91.965);
--secondary: oklch(0.797 0.118 169.784);
--secondary-foreground: oklch(0.099 0.012 175.833);
--accent: oklch(0.633 0.181 313.935);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.643 0.187 36.863);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.776 0.107 85.004);
--chart-1: oklch(0.776 0.107 85.004);
--chart-2: oklch(0.797 0.118 169.784);
--chart-3: oklch(0.633 0.181 313.935);
--chart-4: oklch(0.811 0.111 170.45);
--chart-5: oklch(0.78 0.111 84.846);
}