Juvenile is a shadcn/ui theme built around a vivid light pink primary color (#fce3f1) with vivid light blue accents (#e3f1fc). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light pink primary (#fce3f1) on a neutral background (#040103).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040103black |
| Foreground | #12020bblack | #ffffffwhite |
| Card | #ffffffwhite | #040103black |
| Card foreground | #12020bblack | #ffffffwhite |
| Popover | #ffffffwhite | #040103black |
| Popover foreground | #12020bblack | #ffffffwhite |
| Primary | #fce3f1lavenderblush | #fce3f1lavenderblush |
| Primary foreground | #9e105epurple | #9e105epurple |
| Secondary | #f1fce3beige | #f1fce3beige |
| Secondary foreground | #274106darkgreen | #274106darkgreen |
| Muted | #dae6cbgainsboro | #283419darkslategray |
| Muted foreground | #4a4c48darkslategray | #b5b7b3silver |
| Accent | #e3f1fclavender | #e3f1fclavender |
| Accent foreground | #062741midnightblue | #062741midnightblue |
| Destructive | #9e1e05firebrick | #f83c16orangered |
| Destructive foreground | #feded7mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fce3f1lavenderblush | #fce3f1lavenderblush |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.20:1 | AAA |
| Text on card | 20.20:1 | AAA |
| Primary button | 6.47:1 | AA |
| Secondary button | 10.73:1 | AAA |
| Muted text | 6.69:1 | AA |
| Accent | 13.28:1 | AAA |
| Destructive | 6.27:1 | AA |
| Text on background | 20.75:1 | AAA |
| Text on card | 20.75:1 | AAA |
| Primary button | 6.47:1 | AA |
| Secondary button | 10.73:1 | AAA |
| Muted text | 6.54:1 | AA |
| Accent | 13.28:1 | AAA |
| Destructive | 3.72:1 | AA Large |
Paste this into your globals.css to use Juvenile in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.132 0.04 345.315);
--muted: oklch(0.909 0.038 126.973);
--muted-foreground: oklch(0.414 0.008 126.668);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.132 0.04 345.315);
--card: oklch(1 0 180);
--card-foreground: oklch(0.132 0.04 345.315);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.941 0.033 343.451);
--primary-foreground: oklch(0.462 0.181 354.896);
--secondary: oklch(0.977 0.035 126.894);
--secondary-foreground: oklch(0.341 0.088 131.618);
--accent: oklch(0.951 0.021 242.489);
--accent-foreground: oklch(0.264 0.061 247.614);
--destructive: oklch(0.455 0.166 32.431);
--destructive-foreground: oklch(0.925 0.037 31.169);
--ring: oklch(0.941 0.033 343.451);
--chart-1: oklch(0.941 0.033 343.451);
--chart-2: oklch(0.977 0.035 126.894);
--chart-3: oklch(0.951 0.021 242.489);
--chart-4: oklch(0.988 0.017 126.657);
--chart-5: oklch(0.94 0.034 343.481);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.085 0.015 342.589);
--foreground: oklch(1 0 180);
--muted: oklch(0.305 0.048 128.723);
--muted-foreground: oklch(0.777 0.007 126.537);
--popover: oklch(0.085 0.015 342.589);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.085 0.015 342.589);
--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.941 0.033 343.451);
--primary-foreground: oklch(0.462 0.181 354.896);
--secondary: oklch(0.977 0.035 126.894);
--secondary-foreground: oklch(0.341 0.088 131.618);
--accent: oklch(0.951 0.021 242.489);
--accent-foreground: oklch(0.264 0.061 247.614);
--destructive: oklch(0.641 0.228 32.64);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.941 0.033 343.451);
--chart-1: oklch(0.941 0.033 343.451);
--chart-2: oklch(0.977 0.035 126.894);
--chart-3: oklch(0.951 0.021 242.489);
--chart-4: oklch(0.988 0.017 126.657);
--chart-5: oklch(0.94 0.034 343.481);
}