Jumpy is a shadcn/ui theme built around a deep teal primary color (#0b1919) with deep red accents (#190b0b). The light mode uses a neutral background (#fbfefe). Dark mode keeps the deep teal primary (#0b1919) on a neutral background (#020808).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefewhite | #020808black |
| Foreground | #010404black | #f9fbfbghostwhite |
| Card | #fbfefewhite | #020808black |
| Card foreground | #010404black | #f9fbfbghostwhite |
| Popover | #fbfefewhite | #020808black |
| Popover foreground | #010404black | #f9fbfbghostwhite |
| Primary | #0b1919black | #0b1919black |
| Primary foreground | #48a8a6cadetblue | #48a8a6cadetblue |
| Secondary | #190b0bblack | #190b0bblack |
| Secondary foreground | #cd898arosybrown | #cd898arosybrown |
| Muted | #ebd6d6gainsboro | #291414black |
| Muted foreground | #4e4646darkslategray | #b9b1b1darkgray |
| Accent | #190b0bblack | #190b0bblack |
| Accent foreground | #cd898arosybrown | #cd898arosybrown |
| Destructive | #cd3213firebrick | #ee6144tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0b1919black | #0b1919black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.28:1 | AAA |
| Text on card | 20.28:1 | AAA |
| Primary button | 6.36:1 | AA |
| Secondary button | 6.90:1 | AA |
| Muted text | 6.59:1 | AA |
| Accent | 6.90:1 | AA |
| Destructive | 5.15:1 | AA |
| Text on background | 19.42:1 | AAA |
| Text on card | 19.42:1 | AAA |
| Primary button | 6.36:1 | AA |
| Secondary button | 6.90:1 | AA |
| Muted text | 8.28:1 | AAA |
| Accent | 6.90:1 | AA |
| Destructive | 6.40:1 | AA |
Paste this into your globals.css to use Jumpy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.003 195.918);
--foreground: oklch(0.1 0.012 194.41);
--muted: oklch(0.893 0.024 16.452);
--muted-foreground: oklch(0.403 0.01 16.419);
--popover: oklch(0.995 0.003 195.918);
--popover-foreground: oklch(0.1 0.012 194.41);
--card: oklch(0.995 0.003 195.918);
--card-foreground: oklch(0.1 0.012 194.41);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.2 0.02 194.317);
--primary-foreground: oklch(0.674 0.09 193.732);
--secondary: oklch(0.17 0.025 18.966);
--secondary-foreground: oklch(0.699 0.083 18.287);
--accent: oklch(0.17 0.025 18.966);
--accent-foreground: oklch(0.699 0.083 18.287);
--destructive: oklch(0.558 0.196 32.744);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.2 0.02 194.317);
--chart-1: oklch(0.2 0.02 194.317);
--chart-2: oklch(0.17 0.025 18.966);
--chart-3: oklch(0.17 0.025 18.966);
--chart-4: oklch(0.2 0.035 19.555);
--chart-5: oklch(0.202 0.021 194.23);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.014 194.503);
--foreground: oklch(0.986 0.002 195.945);
--muted: oklch(0.222 0.035 19.238);
--muted-foreground: oklch(0.768 0.008 16.169);
--popover: oklch(0.125 0.014 194.503);
--popover-foreground: oklch(0.986 0.002 195.945);
--card: oklch(0.125 0.014 194.503);
--card-foreground: oklch(0.986 0.002 195.945);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.2 0.02 194.317);
--primary-foreground: oklch(0.674 0.09 193.732);
--secondary: oklch(0.17 0.025 18.966);
--secondary-foreground: oklch(0.699 0.083 18.287);
--accent: oklch(0.17 0.025 18.966);
--accent-foreground: oklch(0.699 0.083 18.287);
--destructive: oklch(0.667 0.18 33.123);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.2 0.02 194.317);
--chart-1: oklch(0.2 0.02 194.317);
--chart-2: oklch(0.17 0.025 18.966);
--chart-3: oklch(0.17 0.025 18.966);
--chart-4: oklch(0.2 0.035 19.555);
--chart-5: oklch(0.202 0.021 194.23);
}