Verdandi Alter is a shadcn/ui theme built around a muted blue primary color (#b5bbc0) with muted deep blue accents (#2d3743). The light mode uses a blue-tinted background (#0e1115). Dark mode keeps the muted blue primary (#b5bbc0) on a blue-tinted background (#0e1115).
| Token | Light | Dark |
|---|---|---|
| Background | #0e1115black | #0e1115black |
| Foreground | #949ca4darkgray | #949ca4darkgray |
| Card | #0a0c0fblack | #0a0c0fblack |
| Card foreground | #a1a9afdarkgray | #a1a9afdarkgray |
| Popover | #080a0cblack | #080a0cblack |
| Popover foreground | #afb5bbsilver | #afb5bbsilver |
| Primary | #b5bbc0silver | #b5bbc0silver |
| Primary foreground | #1e2124black | #1e2124black |
| Secondary | #404040darkslategray | #404040darkslategray |
| Secondary foreground | #d9d9d9gainsboro | #d9d9d9gainsboro |
| Muted | #22262bdarkslategray | #22262bdarkslategray |
| Muted foreground | #9ba4b0darkgray | #9ba4b0darkgray |
| Accent | #2d3743darkslategray | #2d3743darkslategray |
| Accent foreground | #c8d0dalightgrey | #c8d0dalightgrey |
| Destructive | #eb5a47tomato | #eb5a47tomato |
| Destructive foreground | #000000black | #000000black |
| Border | #1c1e21black | #1c1e21black |
| Input | #23262adarkslategray | #23262adarkslategray |
| Ring | #b5bbc0silver | #b5bbc0silver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 6.78:1 | AA |
| Text on card | 8.19:1 | AAA |
| Primary button | 8.31:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 6.06:1 | AA |
| Accent | 7.77:1 | AAA |
| Destructive | 6.08:1 | AA |
| Text on background | 6.78:1 | AA |
| Text on card | 8.19:1 | AAA |
| Primary button | 8.31:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 6.06:1 | AA |
| Accent | 7.77:1 | AAA |
| Destructive | 6.08:1 | AA |
Paste this into your globals.css to use Verdandi Alter in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.178 0.009 255.173);
--foreground: oklch(0.689 0.015 244.353);
--muted: oklch(0.265 0.011 255.143);
--muted-foreground: oklch(0.716 0.021 255.091);
--popover: oklch(0.143 0.006 253.686);
--popover-foreground: oklch(0.771 0.011 244.26);
--card: oklch(0.155 0.007 255.147);
--card-foreground: oklch(0.73 0.013 244.303);
--border: oklch(0.235 0.007 255.095);
--input: oklch(0.266 0.008 255.103);
--primary: oklch(0.788 0.01 242.357);
--primary-foreground: oklch(0.247 0.006 242.529);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.332 0.025 255.242);
--accent-foreground: oklch(0.855 0.016 255.048);
--destructive: oklch(0.655 0.182 30.207);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.788 0.01 242.357);
--chart-1: oklch(0.788 0.01 242.357);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.332 0.025 255.242);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(0.787 0.013 242.419);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.178 0.009 255.173);
--foreground: oklch(0.689 0.015 244.353);
--muted: oklch(0.265 0.011 255.143);
--muted-foreground: oklch(0.716 0.021 255.091);
--popover: oklch(0.143 0.006 253.686);
--popover-foreground: oklch(0.771 0.011 244.26);
--card: oklch(0.155 0.007 255.147);
--card-foreground: oklch(0.73 0.013 244.303);
--border: oklch(0.235 0.007 255.095);
--input: oklch(0.266 0.008 255.103);
--primary: oklch(0.788 0.01 242.357);
--primary-foreground: oklch(0.247 0.006 242.529);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.332 0.025 255.242);
--accent-foreground: oklch(0.855 0.016 255.048);
--destructive: oklch(0.655 0.182 30.207);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.788 0.01 242.357);
--chart-1: oklch(0.788 0.01 242.357);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.332 0.025 255.242);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(0.787 0.013 242.419);
}