Adolescent is a shadcn/ui theme built around a vivid teal primary color (#28e9f0) with muted light teal accents (#bdd0d1). The light mode uses a neutral background (#f8fcfc). Dark mode keeps the vivid teal primary (#28e9f0) on a neutral background (#030707).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcfcmintcream | #030707black |
| Foreground | #020809black | #f9fafaghostwhite |
| Card | #f8fcfcmintcream | #030707black |
| Card foreground | #020809black | #f9fafaghostwhite |
| Popover | #f8fcfcmintcream | #030707black |
| Popover foreground | #020809black | #f9fafaghostwhite |
| Primary | #28e9f0turquoise | #28e9f0turquoise |
| Primary foreground | #054548darkslategray | #054548darkslategray |
| Secondary | #d4ddddgainsboro | #2f3232darkslategray |
| Secondary foreground | #384747darkslategray | #c7cbcclightgrey |
| Muted | #e8f2f2whitesmoke | #0d1717black |
| Muted foreground | #5c6060dimgray | #9fa2a3darkgray |
| Accent | #bdd0d1lightsteelblue | #404f4fdarkslategray |
| Accent foreground | #263636darkslategray | #dde4e4gainsboro |
| Destructive | #a12608firebrick | #ea380borangered |
| Destructive foreground | #fde3ddmistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #28e9f0turquoise | #28e9f0turquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.48:1 | AAA |
| Text on card | 19.48:1 | AAA |
| Primary button | 7.20:1 | AAA |
| Secondary button | 7.03:1 | AAA |
| Muted text | 5.58:1 | AA |
| Accent | 7.89:1 | AAA |
| Destructive | 6.16:1 | AA |
| Text on background | 19.34:1 | AAA |
| Text on card | 19.34:1 | AAA |
| Primary button | 7.20:1 | AAA |
| Secondary button | 7.89:1 | AAA |
| Muted text | 7.11:1 | AAA |
| Accent | 6.67:1 | AA |
| Destructive | 4.15:1 | AA Large |
Paste this into your globals.css to use Adolescent in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.004 199.549);
--foreground: oklch(0.126 0.016 197.361);
--muted: oklch(0.954 0.011 199.455);
--muted-foreground: oklch(0.486 0.005 199.477);
--popover: oklch(0.987 0.004 199.549);
--popover-foreground: oklch(0.126 0.016 197.361);
--card: oklch(0.987 0.004 199.549);
--card-foreground: oklch(0.126 0.016 197.361);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.852 0.139 198.674);
--primary-foreground: oklch(0.357 0.058 198.625);
--secondary: oklch(0.891 0.01 199.46);
--secondary-foreground: oklch(0.385 0.019 198.989);
--accent: oklch(0.844 0.021 199.276);
--accent-foreground: oklch(0.318 0.021 198.81);
--destructive: oklch(0.466 0.163 33.781);
--destructive-foreground: oklch(0.936 0.03 34.303);
--ring: oklch(0.852 0.139 198.674);
--chart-1: oklch(0.852 0.139 198.674);
--chart-2: oklch(0.891 0.01 199.46);
--chart-3: oklch(0.844 0.021 199.276);
--chart-4: oklch(0.913 0.008 199.492);
--chart-5: oklch(0.86 0.142 198.719);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.011 197.977);
--foreground: oklch(0.985 0.001 199.591);
--muted: oklch(0.194 0.015 198.716);
--muted-foreground: oklch(0.711 0.004 199.525);
--popover: oklch(0.123 0.011 197.977);
--popover-foreground: oklch(0.985 0.001 199.591);
--card: oklch(0.123 0.011 197.977);
--card-foreground: oklch(0.985 0.001 199.591);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.852 0.139 198.674);
--primary-foreground: oklch(0.357 0.058 198.625);
--secondary: oklch(0.315 0.005 199.383);
--secondary-foreground: oklch(0.84 0.005 199.531);
--accent: oklch(0.414 0.019 199.021);
--accent-foreground: oklch(0.913 0.007 199.501);
--destructive: oklch(0.613 0.219 33.39);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.852 0.139 198.674);
--chart-1: oklch(0.852 0.139 198.674);
--chart-2: oklch(0.315 0.005 199.383);
--chart-3: oklch(0.414 0.019 199.021);
--chart-4: oklch(0.345 0.006 199.376);
--chart-5: oklch(0.86 0.142 198.719);
}