Jumpy is a shadcn/ui theme built around a light green primary color (#ebf1e4) with light green accents (#e4f1e4). The light mode uses a neutral background (#ffffff). Dark mode keeps the light green primary (#ebf1e4) on a neutral background (#030401).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030401black |
| Foreground | #030401black | #fafbf9snow |
| Card | #fcfcfcsnow | #050802black |
| Card foreground | #000000black | #fcfdfcwhite |
| Popover | #fcfcfcsnow | #050802black |
| Popover foreground | #000000black | #fcfdfcwhite |
| Primary | #ebf1e4beige | #ebf1e4beige |
| Primary foreground | #1f2815black | #1f2815black |
| Secondary | #f1f1e4linen | #f1f1e4linen |
| Secondary foreground | #282815black | #282815black |
| Muted | #e2e2cfgainsboro | #30301ddarkslategray |
| Muted foreground | #545440darkolivegreen | #bfbfabsilver |
| Accent | #e4f1e4beige | #e4f1e4beige |
| Accent foreground | #152815black | #152815black |
| Destructive | #bd490fchocolate | #ef793ecoral |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ebf1e4beige | #ebf1e4beige |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.55:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 13.27:1 | AAA |
| Secondary button | 13.12:1 | AAA |
| Muted text | 5.90:1 | AA |
| Accent | 13.37:1 | AAA |
| Destructive | 5.09:1 | AA |
| Text on background | 19.81:1 | AAA |
| Text on card | 19.75:1 | AAA |
| Primary button | 13.27:1 | AAA |
| Secondary button | 13.12:1 | AAA |
| Muted text | 7.20:1 | AAA |
| Accent | 13.37:1 | AAA |
| Destructive | 7.47:1 | AAA |
Paste this into your globals.css to use Jumpy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.102 0.018 127.186);
--muted: oklch(0.909 0.026 106.897);
--muted-foreground: oklch(0.439 0.03 107.581);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.95 0.018 128.674);
--primary-foreground: oklch(0.262 0.036 130.182);
--secondary: oklch(0.954 0.017 106.712);
--secondary-foreground: oklch(0.272 0.032 108.366);
--accent: oklch(0.945 0.021 145.403);
--accent-foreground: oklch(0.255 0.043 144.185);
--destructive: oklch(0.555 0.161 41.725);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.95 0.018 128.674);
--chart-1: oklch(0.95 0.018 128.674);
--chart-2: oklch(0.954 0.017 106.712);
--chart-3: oklch(0.945 0.021 145.403);
--chart-4: oklch(0.972 0.01 106.592);
--chart-5: oklch(0.951 0.02 128.694);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.101 0.016 127.31);
--foreground: oklch(0.986 0.002 128.488);
--muted: oklch(0.303 0.032 108.169);
--muted-foreground: oklch(0.798 0.026 106.984);
--popover: oklch(0.127 0.02 127.31);
--popover-foreground: oklch(0.993 0.001 128.474);
--card: oklch(0.127 0.02 127.31);
--card-foreground: oklch(0.993 0.001 128.474);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.95 0.018 128.674);
--primary-foreground: oklch(0.262 0.036 130.182);
--secondary: oklch(0.954 0.017 106.712);
--secondary-foreground: oklch(0.272 0.032 108.366);
--accent: oklch(0.945 0.021 145.403);
--accent-foreground: oklch(0.255 0.043 144.185);
--destructive: oklch(0.702 0.163 45.072);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.95 0.018 128.674);
--chart-1: oklch(0.95 0.018 128.674);
--chart-2: oklch(0.954 0.017 106.712);
--chart-3: oklch(0.945 0.021 145.403);
--chart-4: oklch(0.972 0.01 106.592);
--chart-5: oklch(0.951 0.02 128.694);
}