Jumpy is a shadcn/ui theme built around a deep green primary color (#274011) with deep violet accents (#2a1140). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the deep green primary (#274011) on a green-tinted background (#0a1004).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfcwhite | #0a1004black |
| Foreground | #0c1405black | #f7f8f6whitesmoke |
| Card | #fafcf8snow | #0c1405black |
| Card foreground | #0a1004black | #fafbf9snow |
| Popover | #fcfdfcwhite | #0a1004black |
| Popover foreground | #0c1405black | #f7f8f6whitesmoke |
| Primary | #274011darkgreen | #274011darkgreen |
| Primary foreground | #8ad04eyellowgreen | #8ad04eyellowgreen |
| Secondary | #2a1140midnightblue | #2a1140midnightblue |
| Secondary foreground | #c49ee5plum | #c49ee5plum |
| Muted | #ebe3f2lavender | #150d1cblack |
| Muted foreground | #4b4054darkslategray | #b6abbfsilver |
| Accent | #2a1140midnightblue | #2a1140midnightblue |
| Accent foreground | #c49ee5plum | #c49ee5plum |
| Destructive | #5c190amaroon | #eb6547tomato |
| Destructive foreground | #f5b2a3lightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #274011darkgreen | #274011darkgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.47:1 | AAA |
| Text on card | 18.64:1 | AAA |
| Primary button | 6.09:1 | AA |
| Secondary button | 7.45:1 | AAA |
| Muted text | 7.79:1 | AAA |
| Accent | 7.45:1 | AAA |
| Destructive | 7.37:1 | AAA |
| Text on background | 18.09:1 | AAA |
| Text on card | 18.07:1 | AAA |
| Primary button | 6.09:1 | AA |
| Secondary button | 7.45:1 | AAA |
| Muted text | 8.64:1 | AAA |
| Accent | 7.45:1 | AAA |
| Destructive | 6.48:1 | AA |
Paste this into your globals.css to use Jumpy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 129.811);
--foreground: oklch(0.178 0.031 131);
--muted: oklch(0.927 0.021 309.557);
--muted-foreground: oklch(0.391 0.035 308.91);
--popover: oklch(0.994 0.003 129.811);
--popover-foreground: oklch(0.178 0.031 131);
--card: oklch(0.988 0.005 129.838);
--card-foreground: oklch(0.162 0.027 129.882);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.341 0.079 133.057);
--primary-foreground: oklch(0.785 0.177 132.923);
--secondary: oklch(0.244 0.087 305.345);
--secondary-foreground: oklch(0.76 0.107 308.366);
--accent: oklch(0.244 0.087 305.345);
--accent-foreground: oklch(0.76 0.107 308.366);
--destructive: oklch(0.322 0.1 33.999);
--destructive-foreground: oklch(0.822 0.081 33.024);
--ring: oklch(0.341 0.079 133.057);
--chart-1: oklch(0.341 0.079 133.057);
--chart-2: oklch(0.244 0.087 305.345);
--chart-3: oklch(0.244 0.087 305.345);
--chart-4: oklch(0.27 0.1 305.08);
--chart-5: oklch(0.344 0.082 133.239);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.162 0.028 129.882);
--foreground: oklch(0.979 0.003 129.812);
--muted: oklch(0.178 0.032 307.96);
--muted-foreground: oklch(0.757 0.029 309.401);
--popover: oklch(0.162 0.028 129.882);
--popover-foreground: oklch(0.979 0.003 129.812);
--card: oklch(0.179 0.032 131.004);
--card-foreground: oklch(0.986 0.002 129.803);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.341 0.079 133.057);
--primary-foreground: oklch(0.785 0.177 132.923);
--secondary: oklch(0.244 0.087 305.345);
--secondary-foreground: oklch(0.76 0.107 308.366);
--accent: oklch(0.244 0.087 305.345);
--accent-foreground: oklch(0.76 0.107 308.366);
--destructive: oklch(0.669 0.172 34.12);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.341 0.079 133.057);
--chart-1: oklch(0.341 0.079 133.057);
--chart-2: oklch(0.244 0.087 305.345);
--chart-3: oklch(0.244 0.087 305.345);
--chart-4: oklch(0.27 0.1 305.08);
--chart-5: oklch(0.344 0.082 133.239);
}