Kingfish is a shadcn/ui theme built around a vivid green primary color (#75db00) with vivid violet accents (#6600db). The light mode uses a neutral background (#fdfdfc). Dark mode keeps the vivid green primary (#75db00) on a neutral background (#050802).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfdfcwhite | #050802black |
| Foreground | #050802black | #ffffffwhite |
| Card | #fdfdfcwhite | #050802black |
| Card foreground | #050802black | #ffffffwhite |
| Popover | #fdfdfcwhite | #050802black |
| Popover foreground | #050802black | #ffffffwhite |
| Primary | #75db00lawngreen | #75db00lawngreen |
| Primary foreground | #080f00black | #080f00black |
| Secondary | #6600dbdarkviolet | #6600dbdarkviolet |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f2f0f5whitesmoke | #0d0a0fblack |
| Muted foreground | #655c70dimgray | #988fa3darkgray |
| Accent | #6600dbdarkviolet | #6600dbdarkviolet |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #651c06maroon | #d93c0dorangered |
| Destructive foreground | #fab8a3lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #75db00lawngreen | #75db00lawngreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.81:1 | AAA |
| Text on card | 19.81:1 | AAA |
| Primary button | 11.05:1 | AAA |
| Secondary button | 8.09:1 | AAA |
| Muted text | 5.58:1 | AA |
| Accent | 8.09:1 | AAA |
| Destructive | 7.21:1 | AAA |
| Text on background | 20.16:1 | AAA |
| Text on card | 20.16:1 | AAA |
| Primary button | 11.05:1 | AAA |
| Secondary button | 8.09:1 | AAA |
| Muted text | 6.36:1 | AA |
| Accent | 8.09:1 | AAA |
| Destructive | 4.56:1 | AA |
Paste this into your globals.css to use Kingfish in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 127.142);
--foreground: oklch(0.127 0.02 126.094);
--muted: oklch(0.958 0.007 307.019);
--muted-foreground: oklch(0.491 0.034 306.262);
--popover: oklch(0.994 0.002 127.142);
--popover-foreground: oklch(0.127 0.02 126.094);
--card: oklch(0.994 0.002 127.142);
--card-foreground: oklch(0.127 0.02 126.094);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.798 0.232 134.801);
--primary-foreground: oklch(0.156 0.04 126.396);
--secondary: oklch(0.466 0.261 291.356);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.466 0.261 291.356);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.343 0.109 36.281);
--destructive-foreground: oklch(0.837 0.082 37.615);
--ring: oklch(0.798 0.232 134.801);
--chart-1: oklch(0.798 0.232 134.801);
--chart-2: oklch(0.466 0.261 291.356);
--chart-3: oklch(0.466 0.261 291.356);
--chart-4: oklch(0.49 0.275 291.181);
--chart-5: oklch(0.806 0.236 134.993);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.126 0.018 126.189);
--foreground: oklch(1 0 180);
--muted: oklch(0.151 0.011 306.181);
--muted-foreground: oklch(0.664 0.032 306.53);
--popover: oklch(0.126 0.018 126.189);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.126 0.018 126.189);
--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.798 0.232 134.801);
--primary-foreground: oklch(0.156 0.04 126.396);
--secondary: oklch(0.466 0.261 291.356);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.466 0.261 291.356);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.587 0.2 35.082);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.798 0.232 134.801);
--chart-1: oklch(0.798 0.232 134.801);
--chart-2: oklch(0.466 0.261 291.356);
--chart-3: oklch(0.466 0.261 291.356);
--chart-4: oklch(0.49 0.275 291.181);
--chart-5: oklch(0.806 0.236 134.993);
}