Jug is a shadcn/ui theme built around a muted blue primary color (#4b5a6c) with muted light red accents (#ccc2c2). The light mode uses a neutral background (#f7f9fd). Dark mode keeps the muted blue primary (#4b5a6c) on a neutral background (#030508).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f9fdghostwhite | #030508black |
| Foreground | #010204black | #f5f7f9whitesmoke |
| Card | #f7f9fdghostwhite | #030508black |
| Card foreground | #010204black | #f5f7f9whitesmoke |
| Popover | #f7f9fdghostwhite | #030508black |
| Popover foreground | #010204black | #f5f7f9whitesmoke |
| Primary | #4b5a6cdimgray | #4b5a6cdimgray |
| Primary foreground | #f3f5f7whitesmoke | #f3f5f7whitesmoke |
| Secondary | #dbdbdbgainsboro | #272f3adarkslategray |
| Secondary foreground | #424242darkslategray | #bfc8d4lightsteelblue |
| Muted | #e4e2e2gainsboro | #1b1c1dblack |
| Muted foreground | #534646darkslategray | #acb2b9darkgray |
| Accent | #ccc2c2silver | #35475fdarkslategray |
| Accent foreground | #322a2adarkslategray | #dbe2ebgainsboro |
| Destructive | #b93704firebrick | #eb4605orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #4b5a6cdimgray | #4b5a6cdimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.74:1 | AAA |
| Text on card | 19.74:1 | AAA |
| Primary button | 6.47:1 | AA |
| Secondary button | 7.27:1 | AAA |
| Muted text | 6.96:1 | AA |
| Accent | 8.03:1 | AAA |
| Destructive | 5.81:1 | AA |
| Text on background | 19.03:1 | AAA |
| Text on card | 19.03:1 | AAA |
| Primary button | 6.47:1 | AA |
| Secondary button | 7.98:1 | AAA |
| Muted text | 7.99:1 | AAA |
| Accent | 7.23:1 | AAA |
| Destructive | 3.88:1 | AA Large |
Paste this into your globals.css to use Jug in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.006 254.985);
--foreground: oklch(0.087 0.012 245.353);
--muted: oklch(0.914 0.003 17.213);
--muted-foreground: oklch(0.407 0.019 17.954);
--popover: oklch(0.982 0.006 254.985);
--popover-foreground: oklch(0.087 0.012 245.353);
--card: oklch(0.982 0.006 254.985);
--card-foreground: oklch(0.087 0.012 245.353);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.461 0.035 255.248);
--primary-foreground: oklch(0.968 0.003 254.972);
--secondary: oklch(0.892 0 180);
--secondary-foreground: oklch(0.38 0 180);
--accent: oklch(0.822 0.011 17.388);
--accent-foreground: oklch(0.293 0.012 17.872);
--destructive: oklch(0.527 0.174 37.098);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.461 0.035 255.248);
--chart-1: oklch(0.461 0.035 255.248);
--chart-2: oklch(0.892 0 180);
--chart-3: oklch(0.822 0.011 17.388);
--chart-4: oklch(0.916 0 180);
--chart-5: oklch(0.46 0.041 255.285);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.111 0.011 248.028);
--foreground: oklch(0.976 0.004 254.975);
--muted: oklch(0.225 0.004 255.036);
--muted-foreground: oklch(0.76 0.013 255.041);
--popover: oklch(0.111 0.011 248.028);
--popover-foreground: oklch(0.976 0.004 254.975);
--card: oklch(0.111 0.011 248.028);
--card-foreground: oklch(0.976 0.004 254.975);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.461 0.035 255.248);
--primary-foreground: oklch(0.968 0.003 254.972);
--secondary: oklch(0.303 0.023 255.247);
--secondary-foreground: oklch(0.829 0.02 255.071);
--accent: oklch(0.394 0.046 255.365);
--accent-foreground: oklch(0.91 0.014 255.034);
--destructive: oklch(0.627 0.21 36.627);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.461 0.035 255.248);
--chart-1: oklch(0.461 0.035 255.248);
--chart-2: oklch(0.303 0.023 255.247);
--chart-3: oklch(0.394 0.046 255.365);
--chart-4: oklch(0.332 0.026 255.254);
--chart-5: oklch(0.46 0.041 255.285);
}