Junior is a shadcn/ui theme built around a vivid deep pink primary color (#420524) with vivid deep teal accents (#054224). The light mode uses a neutral background (#fdf7fa). Dark mode keeps the vivid deep pink primary (#420524) on a neutral background (#030203).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7fasnow | #030203black |
| Foreground | #000000black | #ffffffwhite |
| Card | #fcf3f7lavenderblush | #070405black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcf3f7lavenderblush | #070405black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #420524maroon | #420524maroon |
| Primary foreground | #f584bdhotpink | #f584bdhotpink |
| Secondary | #054224darkgreen | #054224darkgreen |
| Secondary foreground | #26ed8amediumspringgreen | #26ed8amediumspringgreen |
| Muted | #d9ede3gainsboro | #12261cblack |
| Muted foreground | #444b47darkslategray | #b4bbb8silver |
| Accent | #054224darkgreen | #054224darkgreen |
| Accent foreground | #26ed8amediumspringgreen | #26ed8amediumspringgreen |
| Destructive | #711805maroon | #eb330aorangered |
| Destructive foreground | #fcbaaclightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #420524maroon | #420524maroon |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.83:1 | AAA |
| Text on card | 19.26:1 | AAA |
| Primary button | 6.96:1 | AA |
| Secondary button | 7.48:1 | AAA |
| Muted text | 7.32:1 | AAA |
| Accent | 7.48:1 | AAA |
| Destructive | 6.95:1 | AA |
| Text on background | 20.72:1 | AAA |
| Text on card | 20.46:1 | AAA |
| Primary button | 6.96:1 | AA |
| Secondary button | 7.48:1 | AAA |
| Muted text | 8.12:1 | AAA |
| Accent | 7.48:1 | AAA |
| Destructive | 4.18:1 | AA Large |
Paste this into your globals.css to use Junior in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.008 345.35);
--foreground: oklch(0 0 0);
--muted: oklch(0.928 0.025 164.411);
--muted-foreground: oklch(0.405 0.011 164.413);
--popover: oklch(0.972 0.012 345.456);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.972 0.012 345.456);
--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.254 0.094 356.214);
--primary-foreground: oklch(0.755 0.151 350.018);
--secondary: oklch(0.335 0.079 155.001);
--secondary-foreground: oklch(0.834 0.202 154.206);
--accent: oklch(0.335 0.079 155.001);
--accent-foreground: oklch(0.834 0.202 154.206);
--destructive: oklch(0.361 0.125 33.641);
--destructive-foreground: oklch(0.846 0.079 32.986);
--ring: oklch(0.254 0.094 356.214);
--chart-1: oklch(0.254 0.094 356.214);
--chart-2: oklch(0.335 0.079 155.001);
--chart-3: oklch(0.335 0.079 155.001);
--chart-4: oklch(0.381 0.092 154.464);
--chart-5: oklch(0.255 0.097 356.578);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.088 0.008 345.05);
--foreground: oklch(1 0 180);
--muted: oklch(0.248 0.033 160.943);
--muted-foreground: oklch(0.786 0.009 164.828);
--popover: oklch(0.111 0.01 345.05);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.111 0.01 345.05);
--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.254 0.094 356.214);
--primary-foreground: oklch(0.755 0.151 350.018);
--secondary: oklch(0.335 0.079 155.001);
--secondary-foreground: oklch(0.834 0.202 154.206);
--accent: oklch(0.335 0.079 155.001);
--accent-foreground: oklch(0.834 0.202 154.206);
--destructive: oklch(0.611 0.223 32.69);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.254 0.094 356.214);
--chart-1: oklch(0.254 0.094 356.214);
--chart-2: oklch(0.335 0.079 155.001);
--chart-3: oklch(0.335 0.079 155.001);
--chart-4: oklch(0.381 0.092 154.464);
--chart-5: oklch(0.255 0.097 356.578);
}