Athletic is a shadcn/ui theme built around a muted green primary color (#bec6a4) with muted indigo accents (#aca4c6). The light mode uses a neutral background (#fbfcf8). Dark mode keeps the muted green primary (#bec6a4) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcf8snow | #000000black |
| Foreground | #000000black | #fbfbf9snow |
| Card | #f9fbf4whitesmoke | #030303black |
| Card foreground | #000000black | #fdfdfcwhite |
| Popover | #fbfcf8snow | #000000black |
| Popover foreground | #000000black | #fbfbf9snow |
| Primary | #bec6a4silver | #bec6a4silver |
| Primary foreground | #1f2316black | #1f2316black |
| Secondary | #aca4c6darkgray | #aca4c6darkgray |
| Secondary foreground | #191623black | #191623black |
| Muted | #e9e7eelavender | #121118black |
| Muted foreground | #636264dimgray | #9b9b9ddarkgray |
| Accent | #aca4c6darkgray | #aca4c6darkgray |
| Accent foreground | #191623black | #191623black |
| Destructive | #6b2000maroon | #ff6524tomato |
| Destructive foreground | #ffbb9elightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #bec6a4silver | #bec6a4silver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.41:1 | AAA |
| Text on card | 20.12:1 | AAA |
| Primary button | 9.01:1 | AAA |
| Secondary button | 7.52:1 | AAA |
| Muted text | 4.93:1 | AA |
| Accent | 7.52:1 | AAA |
| Destructive | 7.00:1 | AAA |
| Text on background | 20.26:1 | AAA |
| Text on card | 20.31:1 | AAA |
| Primary button | 9.01:1 | AAA |
| Secondary button | 7.52:1 | AAA |
| Muted text | 6.77:1 | AA |
| Accent | 7.52:1 | AAA |
| Destructive | 7.15:1 | AAA |
Paste this into your globals.css to use Athletic in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.006 117.193);
--foreground: oklch(0 0 0);
--muted: oklch(0.931 0.011 296.875);
--muted-foreground: oklch(0.499 0.003 296.965);
--popover: oklch(0.99 0.006 117.193);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.985 0.009 117.251);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.812 0.047 118.127);
--primary-foreground: oklch(0.247 0.024 118.837);
--secondary: oklch(0.737 0.049 295.861);
--secondary-foreground: oklch(0.208 0.026 294.79);
--accent: oklch(0.737 0.049 295.861);
--accent-foreground: oklch(0.208 0.026 294.79);
--destructive: oklch(0.359 0.113 39.67);
--destructive-foreground: oklch(0.848 0.088 44.185);
--ring: oklch(0.812 0.047 118.127);
--chart-1: oklch(0.812 0.047 118.127);
--chart-2: oklch(0.737 0.049 295.861);
--chart-3: oklch(0.737 0.049 295.861);
--chart-4: oklch(0.765 0.044 296.04);
--chart-5: oklch(0.817 0.053 118.254);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.987 0.003 117.141);
--muted: oklch(0.181 0.016 295.466);
--muted-foreground: oklch(0.689 0.003 297.003);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.987 0.003 117.141);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.994 0.002 117.11);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.812 0.047 118.127);
--primary-foreground: oklch(0.247 0.024 118.837);
--secondary: oklch(0.737 0.049 295.861);
--secondary-foreground: oklch(0.208 0.026 294.79);
--accent: oklch(0.737 0.049 295.861);
--accent-foreground: oklch(0.208 0.026 294.79);
--destructive: oklch(0.696 0.201 40.398);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.812 0.047 118.127);
--chart-1: oklch(0.812 0.047 118.127);
--chart-2: oklch(0.737 0.049 295.861);
--chart-3: oklch(0.737 0.049 295.861);
--chart-4: oklch(0.765 0.044 296.04);
--chart-5: oklch(0.817 0.053 118.254);
}