Jittery is a shadcn/ui theme built around a teal primary color (#5cc1a8) with yellow accents (#c1a85c). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#5cc1a8) on a teal-tinted background (#060f0c).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #060f0cblack |
| Foreground | #04110eblack | #fcfdfdwhite |
| Card | #fcfcfcsnow | #071210black |
| Card foreground | #030d0ablack | #ffffffwhite |
| Popover | #ffffffwhite | #060f0cblack |
| Popover foreground | #04110eblack | #fcfdfdwhite |
| Primary | #5cc1a8mediumaquamarine | #5cc1a8mediumaquamarine |
| Primary foreground | #000000black | #000000black |
| Secondary | #a85cc1mediumorchid | #a85cc1mediumorchid |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e4dae7gainsboro | #221825black |
| Muted foreground | #5b4e5fdimgray | #ada0b1darkgray |
| Accent | #c1a85cdarkkhaki | #c1a85cdarkkhaki |
| Accent foreground | #000000black | #000000black |
| Destructive | #771009maroon | #ee291borangered |
| Destructive foreground | #fabcb8lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5cc1a8mediumaquamarine | #5cc1a8mediumaquamarine |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.23:1 | AAA |
| Text on card | 19.27:1 | AAA |
| Primary button | 9.67:1 | AAA |
| Secondary button | 4.21:1 | AA Large |
| Muted text | 5.72:1 | AA |
| Accent | 9.03:1 | AAA |
| Destructive | 6.97:1 | AA |
| Text on background | 19.08:1 | AAA |
| Text on card | 18.98:1 | AAA |
| Primary button | 9.67:1 | AAA |
| Secondary button | 4.21:1 | AA Large |
| Muted text | 6.88:1 | AA |
| Accent | 9.03:1 | AAA |
| Destructive | 4.22:1 | AA Large |
Paste this into your globals.css to use Jittery in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.162 0.022 177.056);
--muted: oklch(0.9 0.02 317.726);
--muted-foreground: oklch(0.443 0.032 317.643);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.162 0.022 177.056);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.145 0.019 179.024);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.744 0.102 174.741);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.604 0.165 317.096);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.738 0.1 91.398);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.366 0.137 29.564);
--destructive-foreground: oklch(0.851 0.072 23.344);
--ring: oklch(0.744 0.102 174.741);
--chart-1: oklch(0.744 0.102 174.741);
--chart-2: oklch(0.604 0.165 317.096);
--chart-3: oklch(0.738 0.1 91.398);
--chart-4: oklch(0.629 0.154 317.214);
--chart-5: oklch(0.752 0.108 174.413);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.157 0.016 177.833);
--foreground: oklch(0.993 0.001 179.842);
--muted: oklch(0.228 0.028 317.549);
--muted-foreground: oklch(0.721 0.029 317.698);
--popover: oklch(0.157 0.016 177.833);
--popover-foreground: oklch(0.993 0.001 179.842);
--card: oklch(0.172 0.018 176.761);
--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.744 0.102 174.741);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.604 0.165 317.096);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.738 0.1 91.398);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.611 0.23 29.604);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.744 0.102 174.741);
--chart-1: oklch(0.744 0.102 174.741);
--chart-2: oklch(0.604 0.165 317.096);
--chart-3: oklch(0.738 0.1 91.398);
--chart-4: oklch(0.629 0.154 317.214);
--chart-5: oklch(0.752 0.108 174.413);
}