Gymnastics is a shadcn/ui theme built around a light yellow primary color (#e9edbb) with light purple accents (#edbbe9). The light mode uses a neutral background (#ffffff). Dark mode keeps the light yellow primary (#e9edbb) on a yellow-tinted background (#0a0a05).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0a0a05black |
| Foreground | #141604black | #fdfdfcwhite |
| Card | #ffffffwhite | #0a0a05black |
| Card foreground | #141604black | #fdfdfcwhite |
| Popover | #ffffffwhite | #0a0a05black |
| Popover foreground | #141604black | #fdfdfcwhite |
| Primary | #e9edbbpalegoldenrod | #e9edbbpalegoldenrod |
| Primary foreground | #0b0c03black | #0b0c03black |
| Secondary | #bbe9edpaleturquoise | #bbe9edpaleturquoise |
| Secondary foreground | #19585ddarkslategray | #19585ddarkslategray |
| Muted | #d6e9ebgainsboro | #142829black |
| Muted foreground | #435556darkslategray | #a9bbbcsilver |
| Accent | #edbbe9thistle | #edbbe9thistle |
| Accent foreground | #5d1958indigo | #5d1958indigo |
| Destructive | #de2302orangered | #fd3917orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e9edbbpalegoldenrod | #e9edbbpalegoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.32:1 | AAA |
| Text on card | 18.32:1 | AAA |
| Primary button | 16.18:1 | AAA |
| Secondary button | 6.17:1 | AA |
| Muted text | 6.27:1 | AA |
| Accent | 7.35:1 | AAA |
| Destructive | 4.82:1 | AA |
| Text on background | 19.45:1 | AAA |
| Text on card | 19.45:1 | AAA |
| Primary button | 16.18:1 | AAA |
| Secondary button | 6.17:1 | AA |
| Muted text | 7.73:1 | AAA |
| Accent | 7.35:1 | AAA |
| Destructive | 3.64:1 | AA Large |
Paste this into your globals.css to use Gymnastics in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.191 0.033 112.361);
--muted: oklch(0.921 0.021 201.985);
--muted-foreground: oklch(0.435 0.023 201.736);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.191 0.033 112.361);
--card: oklch(1 0 180);
--card-foreground: oklch(0.191 0.033 112.361);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.93 0.066 110.758);
--primary-foreground: oklch(0.15 0.021 111.386);
--secondary: oklch(0.904 0.048 201.732);
--secondary-foreground: oklch(0.424 0.063 201.981);
--accent: oklch(0.85 0.084 328.474);
--accent-foreground: oklch(0.35 0.127 330.734);
--destructive: oklch(0.578 0.221 31.424);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.93 0.066 110.758);
--chart-1: oklch(0.93 0.066 110.758);
--chart-2: oklch(0.904 0.048 201.732);
--chart-3: oklch(0.85 0.084 328.474);
--chart-4: oklch(0.92 0.04 201.803);
--chart-5: oklch(0.934 0.069 110.814);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.144 0.014 110.674);
--foreground: oklch(0.994 0.002 109.517);
--muted: oklch(0.259 0.025 201.556);
--muted-foreground: oklch(0.779 0.021 201.949);
--popover: oklch(0.144 0.014 110.674);
--popover-foreground: oklch(0.994 0.002 109.517);
--card: oklch(0.144 0.014 110.674);
--card-foreground: oklch(0.994 0.002 109.517);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.93 0.066 110.758);
--primary-foreground: oklch(0.15 0.021 111.386);
--secondary: oklch(0.904 0.048 201.732);
--secondary-foreground: oklch(0.424 0.063 201.981);
--accent: oklch(0.85 0.084 328.474);
--accent-foreground: oklch(0.35 0.127 330.734);
--destructive: oklch(0.647 0.234 32.027);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.93 0.066 110.758);
--chart-1: oklch(0.93 0.066 110.758);
--chart-2: oklch(0.904 0.048 201.732);
--chart-3: oklch(0.85 0.084 328.474);
--chart-4: oklch(0.92 0.04 201.803);
--chart-5: oklch(0.934 0.069 110.814);
}