Jeweller is a shadcn/ui theme built around a vivid light purple primary color (#feebfd) with vivid light green accents (#ebfeed). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light purple primary (#feebfd) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #090208black | #ffffffwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #090208black | #ffffffwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #090208black | #ffffffwhite |
| Primary | #feebfdlavenderblush | #feebfdlavenderblush |
| Primary foreground | #4e0349indigo | #4e0349indigo |
| Secondary | #ebfeedhoneydew | #ebfeedhoneydew |
| Secondary foreground | #034e08darkgreen | #034e08darkgreen |
| Muted | #dbebdcgainsboro | #142415black |
| Muted foreground | #616161dimgray | #9e9e9edarkgray |
| Accent | #ebfeedhoneydew | #ebfeedhoneydew |
| Accent foreground | #034e08darkgreen | #034e08darkgreen |
| Destructive | #913608saddlebrown | #f36e2btomato |
| Destructive foreground | #fcdecfbisque | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #feebfdlavenderblush | #feebfdlavenderblush |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.51:1 | AAA |
| Text on card | 20.51:1 | AAA |
| Primary button | 12.95:1 | AAA |
| Secondary button | 9.52:1 | AAA |
| Muted text | 4.99:1 | AA |
| Accent | 9.52:1 | AAA |
| Destructive | 6.05:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 12.95:1 | AAA |
| Secondary button | 9.52:1 | AAA |
| Muted text | 6.04:1 | AA |
| Accent | 9.52:1 | AAA |
| Destructive | 7.04:1 | AAA |
Paste this into your globals.css to use Jeweller in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.106 0.031 329.234);
--muted: oklch(0.924 0.028 147.247);
--muted-foreground: oklch(0.492 0 180);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.106 0.031 329.234);
--card: oklch(1 0 180);
--card-foreground: oklch(0.106 0.031 329.234);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.961 0.031 327.854);
--primary-foreground: oklch(0.297 0.13 331.548);
--secondary: oklch(0.979 0.03 147.235);
--secondary-foreground: oklch(0.37 0.12 143.313);
--accent: oklch(0.979 0.03 147.235);
--accent-foreground: oklch(0.37 0.12 143.313);
--destructive: oklch(0.456 0.133 41.646);
--destructive-foreground: oklch(0.921 0.039 48.272);
--ring: oklch(0.961 0.031 327.854);
--chart-1: oklch(0.961 0.031 327.854);
--chart-2: oklch(0.979 0.03 147.235);
--chart-3: oklch(0.979 0.03 147.235);
--chart-4: oklch(0.995 0.008 147.471);
--chart-5: oklch(0.961 0.032 327.864);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.242 0.037 145.862);
--muted-foreground: oklch(0.7 0 180);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0 0 0);
--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.961 0.031 327.854);
--primary-foreground: oklch(0.297 0.13 331.548);
--secondary: oklch(0.979 0.03 147.235);
--secondary-foreground: oklch(0.37 0.12 143.313);
--accent: oklch(0.979 0.03 147.235);
--accent-foreground: oklch(0.37 0.12 143.313);
--destructive: oklch(0.689 0.181 43.675);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.961 0.031 327.854);
--chart-1: oklch(0.961 0.031 327.854);
--chart-2: oklch(0.979 0.03 147.235);
--chart-3: oklch(0.979 0.03 147.235);
--chart-4: oklch(0.995 0.008 147.471);
--chart-5: oklch(0.961 0.032 327.864);
}