Adolescent is a shadcn/ui theme built around a vivid light cyan primary color (#e7fafe) with vivid light red accents (#feeae7). The light mode uses a neutral background (#f8fbfc). Dark mode keeps the vivid light cyan primary (#e7fafe) on a neutral background (#030607).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fbfcghostwhite | #030607black |
| Foreground | #041316black | #ffffffwhite |
| Card | #f8fbfcghostwhite | #030607black |
| Card foreground | #041316black | #ffffffwhite |
| Popover | #f8fbfcghostwhite | #030607black |
| Popover foreground | #041316black | #ffffffwhite |
| Primary | #e7fafelightcyan | #e7fafelightcyan |
| Primary foreground | #043e48darkslategray | #043e48darkslategray |
| Secondary | #feeae7linen | #feeae7linen |
| Secondary foreground | #a9220afirebrick | #a9220afirebrick |
| Muted | #e9dad8gainsboro | #271816black |
| Muted foreground | #5e5e5edimgray | #a1a1a1darkgray |
| Accent | #feeae7linen | #feeae7linen |
| Accent foreground | #a9220afirebrick | #a9220afirebrick |
| Destructive | #8d2207darkred | #f34a20orangered |
| Destructive foreground | #fcd4cabisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e7fafelightcyan | #e7fafelightcyan |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.20:1 | AAA |
| Text on card | 18.20:1 | AAA |
| Primary button | 10.91:1 | AAA |
| Secondary button | 6.21:1 | AA |
| Muted text | 4.78:1 | AA |
| Accent | 6.21:1 | AA |
| Destructive | 6.54:1 | AA |
| Text on background | 20.29:1 | AAA |
| Text on card | 20.29:1 | AAA |
| Primary button | 10.91:1 | AAA |
| Secondary button | 6.21:1 | AA |
| Muted text | 6.59:1 | AA |
| Accent | 6.21:1 | AA |
| Destructive | 3.60:1 | AA Large |
Paste this into your globals.css to use Adolescent in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.003 209.46);
--foreground: oklch(0.174 0.023 209.292);
--muted: oklch(0.9 0.017 29.542);
--muted-foreground: oklch(0.483 0 180);
--popover: oklch(0.986 0.003 209.46);
--popover-foreground: oklch(0.174 0.023 209.292);
--card: oklch(0.986 0.003 209.46);
--card-foreground: oklch(0.174 0.023 209.292);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.973 0.021 209.43);
--primary-foreground: oklch(0.335 0.057 213.432);
--secondary: oklch(0.952 0.022 29.56);
--secondary-foreground: oklch(0.477 0.174 31.968);
--accent: oklch(0.952 0.022 29.56);
--accent-foreground: oklch(0.477 0.174 31.968);
--destructive: oklch(0.424 0.146 34.014);
--destructive-foreground: oklch(0.901 0.048 34.341);
--ring: oklch(0.973 0.021 209.43);
--chart-1: oklch(0.973 0.021 209.43);
--chart-2: oklch(0.952 0.022 29.56);
--chart-3: oklch(0.952 0.022 29.56);
--chart-4: oklch(0.981 0.008 29.498);
--chart-5: oklch(0.973 0.021 209.43);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.119 0.007 207.379);
--foreground: oklch(1 0 180);
--muted: oklch(0.23 0.025 30.249);
--muted-foreground: oklch(0.708 0 158.199);
--popover: oklch(0.119 0.007 207.379);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.119 0.007 207.379);
--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.973 0.021 209.43);
--primary-foreground: oklch(0.335 0.057 213.432);
--secondary: oklch(0.952 0.022 29.56);
--secondary-foreground: oklch(0.477 0.174 31.968);
--accent: oklch(0.952 0.022 29.56);
--accent-foreground: oklch(0.477 0.174 31.968);
--destructive: oklch(0.647 0.212 34.47);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.973 0.021 209.43);
--chart-1: oklch(0.973 0.021 209.43);
--chart-2: oklch(0.952 0.022 29.56);
--chart-3: oklch(0.952 0.022 29.56);
--chart-4: oklch(0.981 0.008 29.498);
--chart-5: oklch(0.973 0.021 209.43);
}