Kary Pro Colors - Dark is a shadcn/ui theme built around a muted green primary color (#7ea871) with neutral gray accents (#404040). The light mode uses a neutral background (#1a1a1a). Dark mode keeps the muted green primary (#7ea871) on a neutral background (#1a1a1a).
| Token | Light | Dark |
|---|---|---|
| Background | #1a1a1ablack | #1a1a1ablack |
| Foreground | #bababasilver | #bababasilver |
| Card | #141414black | #141414black |
| Card foreground | #c7c7c7silver | #c7c7c7silver |
| Popover | #121212black | #121212black |
| Popover foreground | #d4d4d4lightgrey | #d4d4d4lightgrey |
| Primary | #7ea871darkseagreen | #7ea871darkseagreen |
| Primary foreground | #000000black | #000000black |
| Secondary | #3b4937darkslategray | #3b4937darkslategray |
| Secondary foreground | #d6ded3gainsboro | #d6ded3gainsboro |
| Muted | #2b2222darkslategray | #2b2222darkslategray |
| Muted foreground | #b09b9brosybrown | #b09b9brosybrown |
| Accent | #404040darkslategray | #404040darkslategray |
| Accent foreground | #d9d9d9gainsboro | #d9d9d9gainsboro |
| Destructive | #d22714firebrick | #d22714firebrick |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #262626darkslategray | #262626darkslategray |
| Input | #2e2e2edarkslategray | #2e2e2edarkslategray |
| Ring | #7ea871darkseagreen | #7ea871darkseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 9.01:1 | AAA |
| Text on card | 10.85:1 | AAA |
| Primary button | 7.71:1 | AAA |
| Secondary button | 6.97:1 | AA |
| Muted text | 5.93:1 | AA |
| Accent | 7.37:1 | AAA |
| Destructive | 5.20:1 | AA |
| Text on background | 9.01:1 | AAA |
| Text on card | 10.85:1 | AAA |
| Primary button | 7.71:1 | AAA |
| Secondary button | 6.97:1 | AA |
| Muted text | 5.93:1 | AA |
| Accent | 7.37:1 | AAA |
| Destructive | 5.20:1 | AA |
Paste this into your globals.css to use Kary Pro Colors - Dark in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.216 0 180);
--foreground: oklch(0.789 0 171.254);
--muted: oklch(0.261 0.014 18.092);
--muted-foreground: oklch(0.708 0.025 17.766);
--popover: oklch(0.182 0 164.055);
--popover-foreground: oklch(0.869 0 165.964);
--card: oklch(0.193 0 164.055);
--card-foreground: oklch(0.829 0 180);
--border: oklch(0.27 0 180);
--input: oklch(0.301 0 189.462);
--primary: oklch(0.686 0.09 138.054);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.387 0.034 137.934);
--secondary-foreground: oklch(0.892 0.017 137.795);
--accent: oklch(0.371 0 168.69);
--accent-foreground: oklch(0.885 0 180);
--destructive: oklch(0.558 0.208 30.519);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.686 0.09 138.054);
--chart-1: oklch(0.686 0.09 138.054);
--chart-2: oklch(0.387 0.034 137.934);
--chart-3: oklch(0.371 0 168.69);
--chart-4: oklch(0.417 0.038 137.938);
--chart-5: oklch(0.693 0.101 138.102);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.216 0 180);
--foreground: oklch(0.789 0 171.254);
--muted: oklch(0.261 0.014 18.092);
--muted-foreground: oklch(0.708 0.025 17.766);
--popover: oklch(0.182 0 164.055);
--popover-foreground: oklch(0.869 0 165.964);
--card: oklch(0.193 0 164.055);
--card-foreground: oklch(0.829 0 180);
--border: oklch(0.27 0 180);
--input: oklch(0.301 0 189.462);
--primary: oklch(0.686 0.09 138.054);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.387 0.034 137.934);
--secondary-foreground: oklch(0.892 0.017 137.795);
--accent: oklch(0.371 0 168.69);
--accent-foreground: oklch(0.885 0 180);
--destructive: oklch(0.558 0.208 30.519);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.686 0.09 138.054);
--chart-1: oklch(0.686 0.09 138.054);
--chart-2: oklch(0.387 0.034 137.934);
--chart-3: oklch(0.371 0 168.69);
--chart-4: oklch(0.417 0.038 137.938);
--chart-5: oklch(0.693 0.101 138.102);
}