Verdandi is a shadcn/ui theme built around a muted deep blue primary color (#353b40) with muted light blue accents (#ccd4db). The light mode uses a neutral background (#f9fafb). Dark mode keeps the muted deep blue primary (#353b40) on a neutral background (#f9fafb).
| Token | Light | Dark |
|---|---|---|
| Background | #f9fafbghostwhite | #f9fafbghostwhite |
| Foreground | #51565ddimgray | #51565ddimgray |
| Card | #f3f5f7whitesmoke | #f3f5f7whitesmoke |
| Card foreground | #454a4fdarkslategray | #454a4fdarkslategray |
| Popover | #f0f2f4whitesmoke | #f0f2f4whitesmoke |
| Popover foreground | #393d41darkslategray | #393d41darkslategray |
| Primary | #353b40darkslategray | #353b40darkslategray |
| Primary foreground | #d0d4d8lightgrey | #d0d4d8lightgrey |
| Secondary | #bfbfbfsilver | #bfbfbfsilver |
| Secondary foreground | #262626darkslategray | #262626darkslategray |
| Muted | #e2e6e9gainsboro | #e2e6e9gainsboro |
| Muted foreground | #434d56darkslategray | #434d56darkslategray |
| Accent | #ccd4dblightgrey | #ccd4dblightgrey |
| Accent foreground | #313b45darkslategray | #313b45darkslategray |
| Destructive | #ac170cfirebrick | #ac170cfirebrick |
| Destructive foreground | #feedeclinen | #feedeclinen |
| Border | #ecedeewhitesmoke | #ecedeewhitesmoke |
| Input | #e4e6e7gainsboro | #e4e6e7gainsboro |
| Ring | #353b40darkslategray | #353b40darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 7.07:1 | AAA |
| Text on card | 8.18:1 | AAA |
| Primary button | 7.63:1 | AAA |
| Secondary button | 8.25:1 | AAA |
| Muted text | 6.85:1 | AA |
| Accent | 7.58:1 | AAA |
| Destructive | 6.45:1 | AA |
| Text on background | 7.07:1 | AAA |
| Text on card | 8.18:1 | AAA |
| Primary button | 7.63:1 | AAA |
| Secondary button | 8.25:1 | AAA |
| Muted text | 6.85:1 | AA |
| Accent | 7.58:1 | AAA |
| Destructive | 6.45:1 | AA |
Paste this into your globals.css to use Verdandi in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.984 0.001 247.837);
--foreground: oklch(0.451 0.013 251.667);
--muted: oklch(0.922 0.005 247.882);
--muted-foreground: oklch(0.414 0.019 248.296);
--popover: oklch(0.961 0.004 247.862);
--popover-foreground: oklch(0.358 0.01 251.656);
--card: oklch(0.969 0.003 247.854);
--card-foreground: oklch(0.405 0.011 251.663);
--border: oklch(0.946 0.002 247.845);
--input: oklch(0.923 0.003 247.857);
--primary: oklch(0.348 0.012 248.163);
--primary-foreground: oklch(0.867 0.007 247.905);
--secondary: oklch(0.805 0 169.695);
--secondary-foreground: oklch(0.27 0 180);
--accent: oklch(0.865 0.013 247.977);
--accent-foreground: oklch(0.346 0.022 248.464);
--destructive: oklch(0.476 0.183 29.704);
--destructive-foreground: oklch(0.959 0.018 22.433);
--ring: oklch(0.348 0.012 248.163);
--chart-1: oklch(0.348 0.012 248.163);
--chart-2: oklch(0.805 0 169.695);
--chart-3: oklch(0.865 0.013 247.977);
--chart-4: oklch(0.829 0 180);
--chart-5: oklch(0.347 0.016 248.275);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.984 0.001 247.837);
--foreground: oklch(0.451 0.013 251.667);
--muted: oklch(0.922 0.005 247.882);
--muted-foreground: oklch(0.414 0.019 248.296);
--popover: oklch(0.961 0.004 247.862);
--popover-foreground: oklch(0.358 0.01 251.656);
--card: oklch(0.969 0.003 247.854);
--card-foreground: oklch(0.405 0.011 251.663);
--border: oklch(0.946 0.002 247.845);
--input: oklch(0.923 0.003 247.857);
--primary: oklch(0.348 0.012 248.163);
--primary-foreground: oklch(0.867 0.007 247.905);
--secondary: oklch(0.805 0 169.695);
--secondary-foreground: oklch(0.27 0 180);
--accent: oklch(0.865 0.013 247.977);
--accent-foreground: oklch(0.346 0.022 248.464);
--destructive: oklch(0.476 0.183 29.704);
--destructive-foreground: oklch(0.959 0.018 22.433);
--ring: oklch(0.348 0.012 248.163);
--chart-1: oklch(0.348 0.012 248.163);
--chart-2: oklch(0.805 0 169.695);
--chart-3: oklch(0.865 0.013 247.977);
--chart-4: oklch(0.829 0 180);
--chart-5: oklch(0.347 0.016 248.275);
}