Shot is a shadcn/ui theme built around a green primary color (#c7d06d) with green accents (#96d06d). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#c7d06d) on a neutral background (#070703).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #070703black |
| Foreground | #0c0d02black | #ffffffwhite |
| Card | #fcfcfcsnow | #0a0b05black |
| Card foreground | #080902black | #ffffffwhite |
| Popover | #fcfcfcsnow | #0a0b05black |
| Popover foreground | #080902black | #ffffffwhite |
| Primary | #c7d06ddarkkhaki | #c7d06ddarkkhaki |
| Primary foreground | #070802black | #070802black |
| Secondary | #d0a66ddarkkhaki | #d0a66ddarkkhaki |
| Secondary foreground | #080602black | #080602black |
| Muted | #e5dfd7gainsboro | #28221ablack |
| Muted foreground | #69645ddimgray | #a29d96darkgray |
| Accent | #96d06ddarkseagreen | #96d06ddarkseagreen |
| Accent foreground | #050802black | #050802black |
| Destructive | #8e0f01darkred | #fe3f2aorangered |
| Destructive foreground | #ffc8c2pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c7d06ddarkkhaki | #c7d06ddarkkhaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.55:1 | AAA |
| Text on card | 19.56:1 | AAA |
| Primary button | 12.09:1 | AAA |
| Secondary button | 9.03:1 | AAA |
| Muted text | 4.42:1 | AA Large |
| Accent | 11.02:1 | AAA |
| Destructive | 6.43:1 | AA |
| Text on background | 20.17:1 | AAA |
| Text on card | 19.78:1 | AAA |
| Primary button | 12.09:1 | AAA |
| Secondary button | 9.03:1 | AAA |
| Muted text | 5.82:1 | AA |
| Accent | 11.02:1 | AAA |
| Destructive | 3.52:1 | AA Large |
Paste this into your globals.css to use Shot in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.153 0.025 112.337);
--muted: oklch(0.906 0.013 76.583);
--muted-foreground: oklch(0.507 0.013 76.518);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.133 0.022 111.974);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.133 0.022 111.974);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.829 0.124 112.999);
--primary-foreground: oklch(0.129 0.016 111.631);
--secondary: oklch(0.751 0.089 75.058);
--secondary-foreground: oklch(0.121 0.012 83.124);
--accent: oklch(0.794 0.143 133.551);
--accent-foreground: oklch(0.125 0.018 130.439);
--destructive: oklch(0.413 0.161 30.851);
--destructive-foreground: oklch(0.88 0.063 25.736);
--ring: oklch(0.829 0.124 112.999);
--chart-1: oklch(0.829 0.124 112.999);
--chart-2: oklch(0.751 0.089 75.058);
--chart-3: oklch(0.794 0.143 133.551);
--chart-4: oklch(0.77 0.082 75.377);
--chart-5: oklch(0.837 0.129 113.112);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.126 0.013 111.361);
--foreground: oklch(1 0 180);
--muted: oklch(0.257 0.017 76.121);
--muted-foreground: oklch(0.697 0.012 76.568);
--popover: oklch(0.145 0.015 111.413);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.145 0.015 111.413);
--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.829 0.124 112.999);
--primary-foreground: oklch(0.129 0.016 111.631);
--secondary: oklch(0.751 0.089 75.058);
--secondary-foreground: oklch(0.121 0.012 83.124);
--accent: oklch(0.794 0.143 133.551);
--accent-foreground: oklch(0.125 0.018 130.439);
--destructive: oklch(0.655 0.229 30.396);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.829 0.124 112.999);
--chart-1: oklch(0.829 0.124 112.999);
--chart-2: oklch(0.751 0.089 75.058);
--chart-3: oklch(0.794 0.143 133.551);
--chart-4: oklch(0.77 0.082 75.377);
--chart-5: oklch(0.837 0.129 113.112);
}