Jittery is a shadcn/ui theme built around a muted teal primary color (#719491) with muted blue accents (#718594). The light mode uses a neutral background (#f7fdfc). Dark mode keeps the muted teal primary (#719491) on a teal-tinted background (#030c0b).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdfcmintcream | #030c0bblack |
| Foreground | #041110black | #fcfdfdwhite |
| Card | #f7fdfcmintcream | #030c0bblack |
| Card foreground | #041110black | #fcfdfdwhite |
| Popover | #f7fdfcmintcream | #030c0bblack |
| Popover foreground | #041110black | #fcfdfdwhite |
| Primary | #719491lightslategray | #719491lightslategray |
| Primary foreground | #000000black | #000000black |
| Secondary | #71947fgray | #71947fgray |
| Secondary foreground | #000000black | #000000black |
| Muted | #e6ebe8lavender | #141917black |
| Muted foreground | #55625bdimgray | #9daaa2darkgray |
| Accent | #718594slategray | #718594slategray |
| Accent foreground | #000000black | #000000black |
| Destructive | #900404darkred | #f92424crimson |
| Destructive foreground | #fec8c8pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #719491lightslategray | #719491lightslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.64:1 | AAA |
| Text on card | 18.64:1 | AAA |
| Primary button | 6.31:1 | AA |
| Secondary button | 6.21:1 | AA |
| Muted text | 5.28:1 | AA |
| Accent | 5.47:1 | AA |
| Destructive | 6.48:1 | AA |
| Text on background | 19.39:1 | AAA |
| Text on card | 19.39:1 | AAA |
| Primary button | 6.31:1 | AA |
| Secondary button | 6.21:1 | AA |
| Muted text | 7.34:1 | AAA |
| Accent | 5.47:1 | AA |
| Destructive | 3.94:1 | AA Large |
Paste this into your globals.css to use Jittery in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.006 191.118);
--foreground: oklch(0.163 0.021 188.976);
--muted: oklch(0.934 0.007 160.845);
--muted-foreground: oklch(0.484 0.02 160.014);
--popover: oklch(0.989 0.006 191.118);
--popover-foreground: oklch(0.163 0.021 188.976);
--card: oklch(0.989 0.006 191.118);
--card-foreground: oklch(0.163 0.021 188.976);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.638 0.039 189.875);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.633 0.05 159.011);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.605 0.032 239.179);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.412 0.167 28.911);
--destructive-foreground: oklch(0.881 0.061 18.374);
--ring: oklch(0.638 0.039 189.875);
--chart-1: oklch(0.638 0.039 189.875);
--chart-2: oklch(0.633 0.05 159.011);
--chart-3: oklch(0.605 0.032 239.179);
--chart-4: oklch(0.656 0.046 159.229);
--chart-5: oklch(0.645 0.047 189.613);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.144 0.017 189.84);
--foreground: oklch(0.993 0.001 191.233);
--muted: oklch(0.209 0.01 159.889);
--muted-foreground: oklch(0.724 0.018 160.417);
--popover: oklch(0.144 0.017 189.84);
--popover-foreground: oklch(0.993 0.001 191.233);
--card: oklch(0.144 0.017 189.84);
--card-foreground: oklch(0.993 0.001 191.233);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.638 0.039 189.875);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.633 0.05 159.011);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.605 0.032 239.179);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.629 0.242 27.851);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.638 0.039 189.875);
--chart-1: oklch(0.638 0.039 189.875);
--chart-2: oklch(0.633 0.05 159.011);
--chart-3: oklch(0.605 0.032 239.179);
--chart-4: oklch(0.656 0.046 159.229);
--chart-5: oklch(0.645 0.047 189.613);
}