Select Battle Cat is a shadcn/ui theme built around a vivid deep green primary color (#2d720d) with muted light green accents (#cddcc6). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the vivid deep green primary (#2d720d) on a neutral background (#040802).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfcwhite | #040802black |
| Foreground | #000000black | #f6faf5whitesmoke |
| Card | #f9fcf8mintcream | #060c04black |
| Card foreground | #000000black | #f9fcf8mintcream |
| Popover | #fcfdfcwhite | #040802black |
| Popover foreground | #000000black | #f6faf5whitesmoke |
| Primary | #2d720dforestgreen | #2d720dforestgreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #e7ece4beige | #2b2c2adarkslategray |
| Secondary foreground | #4a5c42darkolivegreen | #c4c6c3silver |
| Muted | #d8dbd6gainsboro | #252924darkslategray |
| Muted foreground | #414f3bdarkslategray | #b6c4b0silver |
| Accent | #cddcc6lightgrey | #393f36darkslategray |
| Accent foreground | #33462bdarkslategray | #d2d7d0lightgrey |
| Destructive | #640a07maroon | #f13832crimson |
| Destructive foreground | #f9a7a4lightpink | #ffffffwhite |
| Border | #eff1eewhitesmoke | #252a22darkslategray |
| Input | #eff1eewhitesmoke | #252a22darkslategray |
| Ring | #2d720dforestgreen | #2d720dforestgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.63:1 | AAA |
| Text on card | 20.27:1 | AAA |
| Primary button | 5.94:1 | AA |
| Secondary button | 6.03:1 | AA |
| Muted text | 6.25:1 | AA |
| Accent | 7.14:1 | AAA |
| Destructive | 6.97:1 | AA |
| Text on background | 19.13:1 | AAA |
| Text on card | 19.14:1 | AAA |
| Primary button | 5.94:1 | AA |
| Secondary button | 8.13:1 | AAA |
| Muted text | 8.10:1 | AAA |
| Accent | 7.38:1 | AAA |
| Destructive | 3.92:1 | AA Large |
Paste this into your globals.css to use Select Battle Cat in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 135.439);
--foreground: oklch(0 0 0);
--muted: oklch(0.888 0.008 135.468);
--muted-foreground: oklch(0.41 0.038 135.865);
--popover: oklch(0.994 0.003 135.439);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.987 0.005 135.45);
--card-foreground: oklch(0 0 0);
--border: oklch(0.956 0.005 135.448);
--input: oklch(0.956 0.005 135.448);
--primary: oklch(0.489 0.146 138.543);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.937 0.012 135.482);
--secondary-foreground: oklch(0.453 0.048 135.938);
--accent: oklch(0.877 0.034 135.597);
--accent-foreground: oklch(0.369 0.05 136.123);
--destructive: oklch(0.324 0.122 28.757);
--destructive-foreground: oklch(0.808 0.097 21.605);
--ring: oklch(0.489 0.146 138.543);
--chart-1: oklch(0.489 0.146 138.543);
--chart-2: oklch(0.937 0.012 135.482);
--chart-3: oklch(0.877 0.034 135.597);
--chart-4: oklch(0.958 0.008 135.463);
--chart-5: oklch(0.494 0.149 138.696);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.02 133.871);
--foreground: oklch(0.981 0.008 135.461);
--muted: oklch(0.275 0.011 135.604);
--muted-foreground: oklch(0.805 0.032 135.605);
--popover: oklch(0.125 0.02 133.871);
--popover-foreground: oklch(0.981 0.008 135.461);
--card: oklch(0.143 0.023 133.979);
--card-foreground: oklch(0.987 0.005 135.45);
--border: oklch(0.277 0.016 135.68);
--input: oklch(0.277 0.016 135.68);
--primary: oklch(0.489 0.146 138.543);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.292 0.004 135.48);
--secondary-foreground: oklch(0.823 0.004 135.447);
--accent: oklch(0.36 0.018 135.65);
--accent-foreground: oklch(0.874 0.011 135.48);
--destructive: oklch(0.628 0.221 27.765);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.489 0.146 138.543);
--chart-1: oklch(0.489 0.146 138.543);
--chart-2: oklch(0.292 0.004 135.48);
--chart-3: oklch(0.36 0.018 135.65);
--chart-4: oklch(0.323 0.004 135.482);
--chart-5: oklch(0.494 0.149 138.696);
}