Junior is a shadcn/ui theme built around a vivid deep pink primary color (#180209) with muted light pink accents (#dbc7ce). The light mode uses a neutral background (#fcf8f9). Dark mode keeps the vivid deep pink primary (#180209) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8f9snow | #000000black |
| Foreground | #000000black | #fdfcfcsnow |
| Card | #faf5f7whitesmoke | #030303black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcf8f9snow | #000000black |
| Popover foreground | #000000black | #fdfcfcsnow |
| Primary | #180209black | #180209black |
| Primary foreground | #f3588epalevioletred | #f3588epalevioletred |
| Secondary | #e5dcdfgainsboro | #271c1fblack |
| Secondary foreground | #513d44darkslategray | #c6aeb7silver |
| Muted | #eedde3mistyrose | #221117black |
| Muted foreground | #575757dimgray | #a8a8a8darkgray |
| Accent | #dbc7cethistle | #3f272fdarkslategray |
| Accent foreground | #442c34darkslategray | #d8c0c8thistle |
| Destructive | #9c3407saddlebrown | #e54c0borangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #180209black | #180209black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.93:1 | AAA |
| Text on card | 19.41:1 | AAA |
| Primary button | 6.28:1 | AA |
| Secondary button | 7.44:1 | AAA |
| Muted text | 5.52:1 | AA |
| Accent | 7.90:1 | AAA |
| Destructive | 7.23:1 | AAA |
| Text on background | 20.50:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 6.28:1 | AA |
| Secondary button | 8.00:1 | AAA |
| Muted text | 7.61:1 | AAA |
| Accent | 7.95:1 | AAA |
| Destructive | 3.90:1 | AA Large |
Paste this into your globals.css to use Junior in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.004 353.699);
--foreground: oklch(0 0 0);
--muted: oklch(0.912 0.021 354.234);
--muted-foreground: oklch(0.456 0 180);
--popover: oklch(0.982 0.004 353.699);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.974 0.006 353.763);
--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.142 0.048 357.794);
--primary-foreground: oklch(0.68 0.195 2.21);
--secondary: oklch(0.902 0.01 353.897);
--secondary-foreground: oklch(0.386 0.03 355.71);
--accent: oklch(0.848 0.024 354.39);
--accent-foreground: oklch(0.325 0.039 356.826);
--destructive: oklch(0.472 0.147 38.991);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.142 0.048 357.794);
--chart-1: oklch(0.142 0.048 357.794);
--chart-2: oklch(0.902 0.01 353.897);
--chart-3: oklch(0.848 0.024 354.39);
--chart-4: oklch(0.927 0.008 353.808);
--chart-5: oklch(0.141 0.05 357.871);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.991 0.002 353.627);
--muted: oklch(0.204 0.032 357.797);
--muted-foreground: oklch(0.733 0 180);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.991 0.002 353.627);
--card: oklch(0.092 0 180);
--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.142 0.048 357.794);
--primary-foreground: oklch(0.68 0.195 2.21);
--secondary: oklch(0.24 0.019 355.755);
--secondary-foreground: oklch(0.775 0.029 354.631);
--accent: oklch(0.306 0.037 356.91);
--accent-foreground: oklch(0.831 0.029 354.546);
--destructive: oklch(0.624 0.199 38.291);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.142 0.048 357.794);
--chart-1: oklch(0.142 0.048 357.794);
--chart-2: oklch(0.24 0.019 355.755);
--chart-3: oklch(0.306 0.037 356.91);
--chart-4: oklch(0.27 0.023 355.887);
--chart-5: oklch(0.141 0.05 357.871);
}