Keyword Digger 2 is a shadcn/ui theme built around a violet primary color (#723ecc) with neutral gray accents (#cbc9cf). The light mode uses a neutral background (#f9f7fd). Dark mode keeps the violet primary (#723ecc) on a violet-tinted background (#090510).
| Token | Light | Dark |
|---|---|---|
| Background | #f9f7fdghostwhite | #090510black |
| Foreground | #07040cblack | #f7f6f8whitesmoke |
| Card | #f9f7fdghostwhite | #090510black |
| Card foreground | #07040cblack | #f7f6f8whitesmoke |
| Popover | #f9f7fdghostwhite | #090510black |
| Popover foreground | #07040cblack | #f7f6f8whitesmoke |
| Primary | #723eccslateblue | #723eccslateblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #cbc9cflightgrey | #1b1820black |
| Secondary foreground | #323036darkslategray | #b2aac0darkgray |
| Muted | #e7e5eblavender | #16141ablack |
| Muted foreground | #4a4257darkslategray | #b0a8bddarkgray |
| Accent | #cbc9cflightgrey | #1b1820black |
| Accent foreground | #323036darkslategray | #b2aac0darkgray |
| Destructive | #c6430cchocolate | #de4c0dchocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e0dfe2gainsboro | #232225black |
| Input | #e0dfe2gainsboro | #232225black |
| Ring | #723eccslateblue | #723eccslateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.12:1 | AAA |
| Text on card | 19.12:1 | AAA |
| Primary button | 6.44:1 | AA |
| Secondary button | 7.96:1 | AAA |
| Muted text | 7.59:1 | AAA |
| Accent | 7.96:1 | AAA |
| Destructive | 4.99:1 | AA |
| Text on background | 18.75:1 | AAA |
| Text on card | 18.75:1 | AAA |
| Primary button | 6.44:1 | AA |
| Secondary button | 7.85:1 | AAA |
| Muted text | 8.01:1 | AAA |
| Accent | 7.85:1 | AAA |
| Destructive | 4.09:1 | AA Large |
Paste this into your globals.css to use Keyword Digger 2 in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.979 0.008 302.798);
--foreground: oklch(0.116 0.023 303.51);
--muted: oklch(0.925 0.01 302.77);
--muted-foreground: oklch(0.395 0.037 301.489);
--popover: oklch(0.979 0.008 302.798);
--popover-foreground: oklch(0.116 0.023 303.51);
--card: oklch(0.979 0.008 302.798);
--card-foreground: oklch(0.116 0.023 303.51);
--border: oklch(0.905 0.004 302.857);
--input: oklch(0.905 0.004 302.857);
--primary: oklch(0.507 0.206 294.696);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.84 0.007 302.797);
--secondary-foreground: oklch(0.315 0.009 302.478);
--accent: oklch(0.84 0.007 302.797);
--accent-foreground: oklch(0.315 0.009 302.478);
--destructive: oklch(0.562 0.176 38.817);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.507 0.206 294.696);
--chart-1: oklch(0.507 0.206 294.696);
--chart-2: oklch(0.84 0.007 302.797);
--chart-3: oklch(0.84 0.007 302.797);
--chart-4: oklch(0.865 0.006 302.82);
--chart-5: oklch(0.504 0.214 294.064);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.128 0.027 302.241);
--foreground: oklch(0.975 0.003 302.879);
--muted: oklch(0.195 0.014 301.817);
--muted-foreground: oklch(0.744 0.032 302.282);
--popover: oklch(0.128 0.027 302.241);
--popover-foreground: oklch(0.975 0.003 302.879);
--card: oklch(0.128 0.027 302.241);
--card-foreground: oklch(0.975 0.003 302.879);
--border: oklch(0.254 0.007 302.517);
--input: oklch(0.254 0.007 302.517);
--primary: oklch(0.507 0.206 294.696);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.216 0.017 301.729);
--secondary-foreground: oklch(0.752 0.033 302.267);
--accent: oklch(0.216 0.017 301.729);
--accent-foreground: oklch(0.752 0.033 302.267);
--destructive: oklch(0.612 0.192 38.639);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.507 0.206 294.696);
--chart-1: oklch(0.507 0.206 294.696);
--chart-2: oklch(0.216 0.017 301.729);
--chart-3: oklch(0.216 0.017 301.729);
--chart-4: oklch(0.246 0.021 301.629);
--chart-5: oklch(0.504 0.214 294.064);
}