Jedid is a shadcn/ui theme built around a vivid yellow primary color (#e7c146) with vivid purple accents (#c146e7). The light mode uses a neutral background (#fdfdfc). Dark mode keeps the vivid yellow primary (#e7c146) on a violet-tinted background (#240032).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfdfcwhite | #240032black |
| Foreground | #110e04black | #faf9f4whitesmoke |
| Card | #fdfdfcwhite | #16071cblack |
| Card foreground | #110e04black | #faf9f4whitesmoke |
| Popover | #fdfdfcwhite | #15051bblack |
| Popover foreground | #110e04black | #faf9f4whitesmoke |
| Primary | #e7c146sandybrown | #e7c146sandybrown |
| Primary foreground | #000000black | #000000black |
| Secondary | #46e7c1turquoise | #ffffffwhite |
| Secondary foreground | #000000black | #240032black |
| Muted | #cfe7e2gainsboro | #532d61darkslateblue |
| Muted foreground | #4b635ddimgray | #ffe8fflavenderblush |
| Accent | #c146e7mediumorchid | #fcdf7fkhaki |
| Accent foreground | #ffffffwhite | #000000black |
| Destructive | #751900maroon | #c20404firebrick |
| Destructive foreground | #ffbba8lightpink | #000000black |
| Border | #e9e9e7linen | #532d61darkslateblue |
| Input | #e9e9e7linen | #ffffffwhite |
| Ring | #e7c146sandybrown | #080808black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.95:1 | AAA |
| Text on card | 18.95:1 | AAA |
| Primary button | 12.14:1 | AAA |
| Secondary button | 13.45:1 | AAA |
| Muted text | 5.00:1 | AA |
| Accent | 3.95:1 | AA Large |
| Destructive | 6.79:1 | AA |
| Text on background | 17.77:1 | AAA |
| Text on card | 18.42:1 | AAA |
| Primary button | 12.14:1 | AAA |
| Secondary button | 18.73:1 | AAA |
| Muted text | 9.52:1 | AAA |
| Accent | 16.00:1 | AAA |
| Destructive | 3.31:1 | AA Large |
Paste this into your globals.css to use Jedid in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 92.674);
--foreground: oklch(0.162 0.022 95.27);
--muted: oklch(0.91 0.027 180.11);
--muted-foreground: oklch(0.478 0.03 179.024);
--popover: oklch(0.994 0.002 92.674);
--popover-foreground: oklch(0.162 0.022 95.27);
--card: oklch(0.994 0.002 92.674);
--card-foreground: oklch(0.162 0.022 95.27);
--border: oklch(0.933 0.002 92.677);
--input: oklch(0.933 0.002 92.677);
--primary: oklch(0.823 0.144 91.702);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.836 0.142 173.534);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.63 0.243 317.157);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.371 0.13 35);
--destructive-foreground: oklch(0.85 0.083 36.047);
--ring: oklch(0.823 0.144 91.702);
--chart-1: oklch(0.823 0.144 91.702);
--chart-2: oklch(0.836 0.142 173.534);
--chart-3: oklch(0.63 0.243 317.157);
--chart-4: oklch(0.845 0.136 174.338);
--chart-5: oklch(0.829 0.147 91.522);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.195 0.097 314.335);
--foreground: oklch(0.982 0.006 92.719);
--muted: oklch(0.369 0.096 316.297);
--muted-foreground: oklch(0.956 0.039 325.878);
--popover: oklch(0.157 0.051 315.991);
--popover-foreground: oklch(0.982 0.006 92.719);
--card: oklch(0.165 0.047 315.854);
--card-foreground: oklch(0.982 0.006 92.719);
--border: oklch(0.369 0.096 316.297);
--input: oklch(1 0 180);
--primary: oklch(0.823 0.144 91.702);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(1 0 180);
--secondary-foreground: oklch(0.195 0.097 314.335);
--accent: oklch(0.908 0.12 93.03);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.512 0.209 29.051);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.134 0 180);
--chart-1: oklch(0.823 0.144 91.702);
--chart-2: oklch(1 0 180);
--chart-3: oklch(0.908 0.12 93.03);
--chart-4: oklch(1.023 0 180);
--chart-5: oklch(0.829 0.147 91.522);
}