Dispute is a shadcn/ui theme built around a neutral gray primary color (#67746d) with muted light green accents (#e5ebe8). The light mode uses a neutral background (#f8fcfa). Dark mode keeps the neutral gray primary (#67746d) on a green-tinted background (#050a08).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcfamintcream | #050a08black |
| Foreground | #010402black | #fcfdfcwhite |
| Card | #f5faf7whitesmoke | #070d0ablack |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f8fcfamintcream | #050a08black |
| Popover foreground | #010402black | #fcfdfcwhite |
| Primary | #67746ddimgray | #67746ddimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #e5ebe8lavender | #202724darkslategray |
| Secondary foreground | #46594fdarkslategray | #b7c3bdsilver |
| Muted | #e6eae8lavender | #151917black |
| Muted foreground | #4b5851darkslategray | #a7b4addarkgray |
| Accent | #e5ebe8lavender | #202724darkslategray |
| Accent foreground | #46594fdarkslategray | #b7c3bdsilver |
| Destructive | #790c02maroon | #e21603red |
| Destructive foreground | #feb5aflightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #67746ddimgray | #67746ddimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.86:1 | AAA |
| Text on card | 19.88:1 | AAA |
| Primary button | 4.87:1 | AA |
| Secondary button | 6.19:1 | AA |
| Muted text | 6.15:1 | AA |
| Accent | 6.19:1 | AA |
| Destructive | 6.69:1 | AA |
| Text on background | 19.54:1 | AAA |
| Text on card | 19.57:1 | AAA |
| Primary button | 4.87:1 | AA |
| Secondary button | 8.39:1 | AAA |
| Muted text | 8.26:1 | AAA |
| Accent | 8.39:1 | AAA |
| Destructive | 4.82:1 | AA |
Paste this into your globals.css to use Dispute in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.004 164.176);
--foreground: oklch(0.099 0.015 164.409);
--muted: oklch(0.934 0.005 164.141);
--muted-foreground: oklch(0.447 0.02 163.103);
--popover: oklch(0.987 0.004 164.176);
--popover-foreground: oklch(0.099 0.015 164.409);
--card: oklch(0.98 0.006 164.119);
--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.547 0.019 163.364);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.934 0.007 164.093);
--secondary-foreground: oklch(0.443 0.028 162.518);
--accent: oklch(0.934 0.007 164.093);
--accent-foreground: oklch(0.443 0.028 162.518);
--destructive: oklch(0.367 0.142 30.617);
--destructive-foreground: oklch(0.84 0.086 24.868);
--ring: oklch(0.547 0.019 163.364);
--chart-1: oklch(0.547 0.019 163.364);
--chart-2: oklch(0.934 0.007 164.093);
--chart-3: oklch(0.934 0.007 164.093);
--chart-4: oklch(0.956 0.005 164.161);
--chart-5: oklch(0.552 0.028 162.902);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.138 0.011 164.35);
--foreground: oklch(0.993 0.001 164.265);
--muted: oklch(0.208 0.008 163.318);
--muted-foreground: oklch(0.757 0.017 163.683);
--popover: oklch(0.138 0.011 164.35);
--popover-foreground: oklch(0.993 0.001 164.265);
--card: oklch(0.152 0.013 163.118);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.547 0.019 163.364);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.265 0.011 163.166);
--secondary-foreground: oklch(0.805 0.016 163.777);
--accent: oklch(0.265 0.011 163.166);
--accent-foreground: oklch(0.805 0.016 163.777);
--destructive: oklch(0.579 0.23 30.047);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.547 0.019 163.364);
--chart-1: oklch(0.547 0.019 163.364);
--chart-2: oklch(0.265 0.011 163.166);
--chart-3: oklch(0.265 0.011 163.166);
--chart-4: oklch(0.297 0.013 163.107);
--chart-5: oklch(0.552 0.028 162.902);
}