Verdict is a shadcn/ui theme built around a near-white primary color (#fcfdfc) with near-white accents (#fcfdfc). The light mode uses a neutral background (#fafcf8). Dark mode keeps the near-white primary (#fcfdfc) on a green-tinted background (#0a0e06).
| Token | Light | Dark |
|---|---|---|
| Background | #fafcf8snow | #0a0e06black |
| Foreground | #0c1405black | #f7faf4whitesmoke |
| Card | #f7faf4whitesmoke | #0c1208black |
| Card foreground | #091004black | #fafcf8snow |
| Popover | #fafcf8snow | #0a0e06black |
| Popover foreground | #0c1405black | #f7faf4whitesmoke |
| Primary | #fcfdfcwhite | #fcfdfcwhite |
| Primary foreground | #2e3f22darkslategray | #2e3f22darkslategray |
| Secondary | #fdfdfcwhite | #fdfdfcwhite |
| Secondary foreground | #3d3f22darkslategray | #3d3f22darkslategray |
| Muted | #eeefe1beige | #1c1e10black |
| Muted foreground | #404040darkslategray | #bfbfbfsilver |
| Accent | #fcfdfcwhite | #fcfdfcwhite |
| Accent foreground | #223f24darkslategray | #223f24darkslategray |
| Destructive | #c21300firebrick | #ff2c14orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fcfdfcwhite | #fcfdfcwhite |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.17:1 | AAA |
| Text on card | 18.36:1 | AAA |
| Primary button | 11.14:1 | AAA |
| Secondary button | 10.69:1 | AAA |
| Muted text | 8.89:1 | AAA |
| Accent | 11.42:1 | AAA |
| Destructive | 6.20:1 | AA |
| Text on background | 18.46:1 | AAA |
| Text on card | 18.40:1 | AAA |
| Primary button | 11.14:1 | AAA |
| Secondary button | 10.69:1 | AAA |
| Muted text | 9.20:1 | AAA |
| Accent | 11.42:1 | AAA |
| Destructive | 3.73:1 | AA Large |
Paste this into your globals.css to use Verdict in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.006 131.772);
--foreground: oklch(0.178 0.032 132.592);
--muted: oklch(0.947 0.018 110.594);
--muted-foreground: oklch(0.371 0 168.69);
--popover: oklch(0.988 0.006 131.772);
--popover-foreground: oklch(0.178 0.032 132.592);
--card: oklch(0.982 0.009 131.796);
--card-foreground: oklch(0.162 0.028 131.489);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.994 0.002 131.743);
--primary-foreground: oklch(0.344 0.053 133.189);
--secondary: oklch(0.994 0.002 110.285);
--secondary-foreground: oklch(0.357 0.046 112.606);
--accent: oklch(0.993 0.002 148.038);
--accent-foreground: oklch(0.336 0.058 146.017);
--destructive: oklch(0.517 0.204 30.489);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.994 0.002 131.743);
--chart-1: oklch(0.994 0.002 131.743);
--chart-2: oklch(0.994 0.002 110.285);
--chart-3: oklch(0.993 0.002 148.038);
--chart-4: oklch(1.012 0.004 290.172);
--chart-5: oklch(0.994 0.002 131.744);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.157 0.02 131.584);
--foreground: oklch(0.982 0.008 131.795);
--muted: oklch(0.228 0.024 112.179);
--muted-foreground: oklch(0.805 0 169.695);
--popover: oklch(0.157 0.02 131.584);
--popover-foreground: oklch(0.982 0.008 131.795);
--card: oklch(0.172 0.023 132.595);
--card-foreground: oklch(0.988 0.006 131.771);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.994 0.002 131.743);
--primary-foreground: oklch(0.344 0.053 133.189);
--secondary: oklch(0.994 0.002 110.285);
--secondary-foreground: oklch(0.357 0.046 112.606);
--accent: oklch(0.993 0.002 148.038);
--accent-foreground: oklch(0.336 0.058 146.017);
--destructive: oklch(0.643 0.244 30.492);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.994 0.002 131.743);
--chart-1: oklch(0.994 0.002 131.743);
--chart-2: oklch(0.994 0.002 110.285);
--chart-3: oklch(0.993 0.002 148.038);
--chart-4: oklch(1.012 0.004 290.172);
--chart-5: oklch(0.994 0.002 131.744);
}