Juvenile is a shadcn/ui theme built around a deep teal primary color (#145c4e) with deep cyan accents (#14465c). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep teal primary (#145c4e) on a neutral background (#020807).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020807black |
| Foreground | #040c0ablack | #fcfdfdwhite |
| Card | #ffffffwhite | #020807black |
| Card foreground | #040c0ablack | #fcfdfdwhite |
| Popover | #ffffffwhite | #020807black |
| Popover foreground | #040c0ablack | #fcfdfdwhite |
| Primary | #145c4edarkslategray | #145c4edarkslategray |
| Primary foreground | #b4eee3paleturquoise | #b4eee3paleturquoise |
| Secondary | #145c2adarkgreen | #145c2adarkgreen |
| Secondary foreground | #b4eec5powderblue | #b4eec5powderblue |
| Muted | #dfece3gainsboro | #132017black |
| Muted foreground | #3c4940darkslategray | #b6c3basilver |
| Accent | #14465cdarkslategray | #14465cdarkslategray |
| Accent foreground | #b4ddeepowderblue | #b4ddeepowderblue |
| Destructive | #7d1f03maroon | #fb5d2dtomato |
| Destructive foreground | #fdc5b4lightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #145c4edarkslategray | #145c4edarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.77:1 | AAA |
| Text on card | 19.77:1 | AAA |
| Primary button | 6.09:1 | AA |
| Secondary button | 6.15:1 | AA |
| Muted text | 7.75:1 | AAA |
| Accent | 7.00:1 | AAA |
| Destructive | 6.67:1 | AA |
| Text on background | 19.81:1 | AAA |
| Text on card | 19.81:1 | AAA |
| Primary button | 6.09:1 | AA |
| Secondary button | 6.15:1 | AA |
| Muted text | 9.25:1 | AAA |
| Accent | 7.00:1 | AAA |
| Destructive | 6.69:1 | AA |
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.142 0.015 182.618);
--muted: oklch(0.93 0.017 155.511);
--muted-foreground: oklch(0.39 0.023 154.689);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.142 0.015 182.618);
--card: oklch(1 0 180);
--card-foreground: oklch(0.142 0.015 182.618);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.428 0.072 175.972);
--primary-foreground: oklch(0.907 0.062 181.183);
--secondary: oklch(0.419 0.106 148.917);
--secondary-foreground: oklch(0.9 0.082 153.985);
--accent: oklch(0.373 0.064 230.614);
--accent-foreground: oklch(0.873 0.049 225.806);
--destructive: oklch(0.392 0.133 35.564);
--destructive-foreground: oklch(0.87 0.069 37.596);
--ring: oklch(0.428 0.072 175.972);
--chart-1: oklch(0.428 0.072 175.972);
--chart-2: oklch(0.419 0.106 148.917);
--chart-3: oklch(0.373 0.064 230.614);
--chart-4: oklch(0.458 0.118 148.771);
--chart-5: oklch(0.433 0.075 175.66);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.014 183.033);
--foreground: oklch(0.993 0.001 183.145);
--muted: oklch(0.227 0.024 153.653);
--muted-foreground: oklch(0.805 0.019 155.403);
--popover: oklch(0.125 0.014 183.033);
--popover-foreground: oklch(0.993 0.001 183.145);
--card: oklch(0.125 0.014 183.033);
--card-foreground: oklch(0.993 0.001 183.145);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.428 0.072 175.972);
--primary-foreground: oklch(0.907 0.062 181.183);
--secondary: oklch(0.419 0.106 148.917);
--secondary-foreground: oklch(0.9 0.082 153.985);
--accent: oklch(0.373 0.064 230.614);
--accent-foreground: oklch(0.873 0.049 225.806);
--destructive: oklch(0.68 0.202 36.736);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.428 0.072 175.972);
--chart-1: oklch(0.428 0.072 175.972);
--chart-2: oklch(0.419 0.106 148.917);
--chart-3: oklch(0.373 0.064 230.614);
--chart-4: oklch(0.458 0.118 148.771);
--chart-5: oklch(0.433 0.075 175.66);
}