Athletic is a shadcn/ui theme built around a vivid pink primary color (#991538) with muted light pink accents (#e2cad1). The light mode uses a neutral background (#fefbfc). Dark mode keeps the vivid pink primary (#991538) on a pink-tinted background (#100407).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfcsnow | #100407black |
| Foreground | #0d0205black | #ffffffwhite |
| Card | #fefbfcsnow | #100407black |
| Card foreground | #0d0205black | #ffffffwhite |
| Popover | #fefbfcsnow | #100407black |
| Popover foreground | #0d0205black | #ffffffwhite |
| Primary | #991538brown | #991538brown |
| Primary foreground | #fbe4eamistyrose | #fbe4eamistyrose |
| Secondary | #ede3e6linen | #21171ablack |
| Secondary foreground | #5f3f48darkslategray | #c2a8afdarkgray |
| Muted | #e7d9ddgainsboro | #26181bblack |
| Muted foreground | #5b434adarkslategray | #bca4aadarkgray |
| Accent | #e2cad1thistle | #3e232adarkslategray |
| Accent foreground | #4f2b35darkslategray | #d8bac2thistle |
| Destructive | #d4160cfirebrick | #f1190ered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #991538brown | #991538brown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.82:1 | AAA |
| Text on card | 19.82:1 | AAA |
| Primary button | 6.92:1 | AA |
| Secondary button | 7.31:1 | AAA |
| Muted text | 6.57:1 | AA |
| Accent | 7.88:1 | AAA |
| Destructive | 5.35:1 | AA |
| Text on background | 20.11:1 | AAA |
| Text on card | 20.11:1 | AAA |
| Primary button | 6.92:1 | AA |
| Secondary button | 7.91:1 | AAA |
| Muted text | 7.37:1 | AAA |
| Accent | 7.93:1 | AAA |
| Destructive | 4.29:1 | AA Large |
Paste this into your globals.css to use Athletic in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.004 358.897);
--foreground: oklch(0.118 0.027 358.989);
--muted: oklch(0.899 0.016 359.294);
--muted-foreground: oklch(0.411 0.034 1.053);
--popover: oklch(0.99 0.004 358.897);
--popover-foreground: oklch(0.118 0.027 358.989);
--card: oklch(0.99 0.004 358.897);
--card-foreground: oklch(0.118 0.027 358.989);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.444 0.164 13.436);
--primary-foreground: oklch(0.94 0.027 359.579);
--secondary: oklch(0.925 0.01 359.105);
--secondary-foreground: oklch(0.407 0.046 1.856);
--accent: oklch(0.862 0.028 359.685);
--accent-foreground: oklch(0.339 0.054 3.166);
--destructive: oklch(0.553 0.218 29.454);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.444 0.164 13.436);
--chart-1: oklch(0.444 0.164 13.436);
--chart-2: oklch(0.925 0.01 359.105);
--chart-3: oklch(0.862 0.028 359.685);
--chart-4: oklch(0.95 0.007 358.991);
--chart-5: oklch(0.447 0.168 14.146);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.133 0.026 0.229);
--foreground: oklch(1 0 180);
--muted: oklch(0.227 0.024 1.623);
--muted-foreground: oklch(0.742 0.029 359.872);
--popover: oklch(0.133 0.026 0.229);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.133 0.026 0.229);
--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.444 0.164 13.436);
--primary-foreground: oklch(0.94 0.027 359.579);
--secondary: oklch(0.218 0.017 0.915);
--secondary-foreground: oklch(0.756 0.032 359.976);
--accent: oklch(0.293 0.043 2.785);
--accent-foreground: oklch(0.818 0.036 360);
--destructive: oklch(0.608 0.24 29.472);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.444 0.164 13.436);
--chart-1: oklch(0.444 0.164 13.436);
--chart-2: oklch(0.218 0.017 0.915);
--chart-3: oklch(0.293 0.043 2.785);
--chart-4: oklch(0.249 0.021 1.087);
--chart-5: oklch(0.447 0.168 14.146);
}