Jute is a shadcn/ui theme built around a vivid blue primary color (#596ef8) with muted light blue accents (#e0e2eb). The light mode uses a neutral background (#f7f8fd). Dark mode keeps the vivid blue primary (#596ef8) on a blue-tinted background (#04050b).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f8fdghostwhite | #04050bblack |
| Foreground | #020412black | #fcfcfdwhite |
| Card | #f7f8fdghostwhite | #04050bblack |
| Card foreground | #020412black | #fcfcfdwhite |
| Popover | #f7f8fdghostwhite | #04050bblack |
| Popover foreground | #020412black | #fcfcfdwhite |
| Primary | #596ef8royalblue | #596ef8royalblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #e0e2ebgainsboro | #1b1c23black |
| Secondary foreground | #3d415cdarkslategray | #aeb1c1silver |
| Muted | #eaebf0lavender | #0f1015black |
| Muted foreground | #4a4d5edarkslategray | #a1a3b5darkgray |
| Accent | #e0e2ebgainsboro | #1b1c23black |
| Accent foreground | #3d415cdarkslategray | #aeb1c1silver |
| Destructive | #b62f11firebrick | #ea401aorangered |
| Destructive foreground | #fffbfasnow | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #596ef8royalblue | #596ef8royalblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.22:1 | AAA |
| Text on card | 19.22:1 | AAA |
| Primary button | 4.20:1 | AA Large |
| Secondary button | 7.69:1 | AAA |
| Muted text | 7.02:1 | AAA |
| Accent | 7.69:1 | AAA |
| Destructive | 5.99:1 | AA |
| Text on background | 19.82:1 | AAA |
| Text on card | 19.82:1 | AAA |
| Primary button | 4.20:1 | AA Large |
| Secondary button | 7.99:1 | AAA |
| Muted text | 7.62:1 | AAA |
| Accent | 7.99:1 | AAA |
| Destructive | 4.00:1 | AA Large |
Paste this into your globals.css to use Jute in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.979 0.006 279.241);
--foreground: oklch(0.117 0.035 268.993);
--muted: oklch(0.941 0.006 279.24);
--muted-foreground: oklch(0.424 0.029 278.205);
--popover: oklch(0.979 0.006 279.241);
--popover-foreground: oklch(0.117 0.035 268.993);
--card: oklch(0.979 0.006 279.241);
--card-foreground: oklch(0.117 0.035 268.993);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.598 0.206 272.024);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.914 0.012 279.14);
--secondary-foreground: oklch(0.384 0.046 277.273);
--accent: oklch(0.914 0.012 279.14);
--accent-foreground: oklch(0.384 0.046 277.273);
--destructive: oklch(0.514 0.176 33.489);
--destructive-foreground: oklch(0.991 0.004 32.661);
--ring: oklch(0.598 0.206 272.024);
--chart-1: oklch(0.598 0.206 272.024);
--chart-2: oklch(0.914 0.012 279.14);
--chart-3: oklch(0.914 0.012 279.14);
--chart-4: oklch(0.94 0.008 279.206);
--chart-5: oklch(0.595 0.213 271.7);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.119 0.016 274.831);
--foreground: oklch(0.992 0.001 279.328);
--muted: oklch(0.174 0.01 278.442);
--muted-foreground: oklch(0.72 0.025 278.785);
--popover: oklch(0.119 0.016 274.831);
--popover-foreground: oklch(0.992 0.001 279.328);
--card: oklch(0.119 0.016 274.831);
--card-foreground: oklch(0.992 0.001 279.328);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.598 0.206 272.024);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.227 0.013 278.379);
--secondary-foreground: oklch(0.763 0.023 278.869);
--accent: oklch(0.227 0.013 278.379);
--accent-foreground: oklch(0.763 0.023 278.869);
--destructive: oklch(0.621 0.211 33.54);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.598 0.206 272.024);
--chart-1: oklch(0.598 0.206 272.024);
--chart-2: oklch(0.227 0.013 278.379);
--chart-3: oklch(0.227 0.013 278.379);
--chart-4: oklch(0.257 0.016 278.304);
--chart-5: oklch(0.595 0.213 271.7);
}