Jealous is a shadcn/ui theme built around a vivid deep indigo primary color (#14067f) with muted light indigo accents (#cdcbdc). The light mode uses a neutral background (#f8f8fc). Dark mode keeps the vivid deep indigo primary (#14067f) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f8f8fcghostwhite | #000000black |
| Foreground | #000000black | #fcfcfdwhite |
| Card | #f8f8fcghostwhite | #000000black |
| Card foreground | #000000black | #fcfcfdwhite |
| Popover | #f8f8fcghostwhite | #000000black |
| Popover foreground | #000000black | #fcfcfdwhite |
| Primary | #14067fnavy | #14067fnavy |
| Primary foreground | #c2bbfclightsteelblue | #c2bbfclightsteelblue |
| Secondary | #cdcbdclightgrey | #302f31darkslategray |
| Secondary foreground | #322f46darkslategray | #c9c8cbsilver |
| Muted | #e6e5f0lavender | #100f1ablack |
| Muted foreground | #646369dimgray | #97969cdarkgray |
| Accent | #cdcbdclightgrey | #302f31darkslategray |
| Accent foreground | #322f46darkslategray | #c9c8cbsilver |
| Destructive | #da490bchocolate | #da490bchocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #14067fnavy | #14067fnavy |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.76:1 | AAA |
| Text on card | 19.76:1 | AAA |
| Primary button | 8.68:1 | AAA |
| Secondary button | 8.07:1 | AAA |
| Muted text | 4.76:1 | AA |
| Accent | 8.07:1 | AAA |
| Destructive | 4.24:1 | AA Large |
| Text on background | 20.48:1 | AAA |
| Text on card | 20.48:1 | AAA |
| Primary button | 8.68:1 | AAA |
| Secondary button | 7.96:1 | AAA |
| Muted text | 6.48:1 | AA |
| Accent | 7.96:1 | AAA |
| Destructive | 4.24:1 | AA Large |
Paste this into your globals.css to use Jealous in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.979 0.006 291.657);
--foreground: oklch(0 0 0);
--muted: oklch(0.926 0.015 291.465);
--muted-foreground: oklch(0.502 0.01 291.416);
--popover: oklch(0.979 0.006 291.657);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.979 0.006 291.657);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.283 0.177 270.536);
--primary-foreground: oklch(0.82 0.091 289.581);
--secondary: oklch(0.849 0.024 291.243);
--secondary-foreground: oklch(0.318 0.042 289.16);
--accent: oklch(0.849 0.024 291.243);
--accent-foreground: oklch(0.318 0.042 289.16);
--destructive: oklch(0.603 0.191 38.516);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.283 0.177 270.536);
--chart-1: oklch(0.283 0.177 270.536);
--chart-2: oklch(0.849 0.024 291.243);
--chart-3: oklch(0.849 0.024 291.243);
--chart-4: oklch(0.876 0.02 291.356);
--chart-5: oklch(0.283 0.181 269.794);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.991 0.002 291.746);
--muted: oklch(0.175 0.023 289.071);
--muted-foreground: oklch(0.675 0.009 291.53);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.991 0.002 291.746);
--card: oklch(0 0 0);
--card-foreground: oklch(0.991 0.002 291.746);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.283 0.177 270.536);
--primary-foreground: oklch(0.82 0.091 289.581);
--secondary: oklch(0.308 0.003 291.569);
--secondary-foreground: oklch(0.835 0.003 291.713);
--accent: oklch(0.308 0.003 291.569);
--accent-foreground: oklch(0.835 0.003 291.713);
--destructive: oklch(0.603 0.191 38.516);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.283 0.177 270.536);
--chart-1: oklch(0.283 0.177 270.536);
--chart-2: oklch(0.308 0.003 291.569);
--chart-3: oklch(0.308 0.003 291.569);
--chart-4: oklch(0.338 0.004 291.562);
--chart-5: oklch(0.283 0.181 269.794);
}