Athlete is a shadcn/ui theme built around a vivid indigo primary color (#1308a0) with vivid yellow accents (#96a008). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the vivid indigo primary (#1308a0) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfbfeghostwhite | #000000black |
| Foreground | #050410black | #f5f5f9whitesmoke |
| Card | #f8f8fcghostwhite | #030303black |
| Card foreground | #04030cblack | #f9f8fbghostwhite |
| Popover | #f8f8fcghostwhite | #030303black |
| Popover foreground | #04030cblack | #f9f8fbghostwhite |
| Primary | #1308a0darkblue | #1308a0darkblue |
| Primary foreground | #dfddfdlavender | #dfddfdlavender |
| Secondary | #96a008olive | #96a008olive |
| Secondary foreground | #000000black | #000000black |
| Muted | #dddddagainsboro | #252522darkslategray |
| Muted foreground | #64655ddimgray | #a1a29adarkgray |
| Accent | #96a008olive | #96a008olive |
| Accent foreground | #000000black | #000000black |
| Destructive | #c15110chocolate | #ec6313chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #1308a0darkblue | #1308a0darkblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.76:1 | AAA |
| Text on card | 19.32:1 | AAA |
| Primary button | 10.12:1 | AAA |
| Secondary button | 7.31:1 | AAA |
| Muted text | 4.33:1 | AA Large |
| Accent | 7.31:1 | AAA |
| Destructive | 4.71:1 | AA |
| Text on background | 19.31:1 | AAA |
| Text on card | 19.54:1 | AAA |
| Primary button | 10.12:1 | AAA |
| Secondary button | 7.31:1 | AAA |
| Muted text | 5.93:1 | AA |
| Accent | 7.31:1 | AAA |
| Destructive | 6.34:1 | AA |
Paste this into your globals.css to use Athlete in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 289.421);
--foreground: oklch(0.12 0.029 285.285);
--muted: oklch(0.897 0.005 109.578);
--muted-foreground: oklch(0.503 0.012 109.92);
--popover: oklch(0.979 0.006 289.362);
--popover-foreground: oklch(0.108 0.025 285.818);
--card: oklch(0.979 0.006 289.362);
--card-foreground: oklch(0.108 0.025 285.818);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.33 0.213 267.732);
--primary-foreground: oklch(0.909 0.044 288.558);
--secondary: oklch(0.674 0.15 114.226);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.674 0.15 114.226);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.573 0.16 44.201);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.33 0.213 267.732);
--chart-1: oklch(0.33 0.213 267.732);
--chart-2: oklch(0.674 0.15 114.226);
--chart-3: oklch(0.674 0.15 114.226);
--chart-4: oklch(0.719 0.16 114.254);
--chart-5: oklch(0.331 0.218 267.113);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.972 0.006 289.369);
--muted: oklch(0.265 0.006 109.932);
--muted-foreground: oklch(0.709 0.011 109.768);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.981 0.004 289.406);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.981 0.004 289.406);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.33 0.213 267.732);
--primary-foreground: oklch(0.909 0.044 288.558);
--secondary: oklch(0.674 0.15 114.226);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.674 0.15 114.226);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.663 0.187 43.852);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.33 0.213 267.732);
--chart-1: oklch(0.33 0.213 267.732);
--chart-2: oklch(0.674 0.15 114.226);
--chart-3: oklch(0.674 0.15 114.226);
--chart-4: oklch(0.719 0.16 114.254);
--chart-5: oklch(0.331 0.218 267.113);
}