Minor-league is a shadcn/ui theme built around a muted purple primary color (#5c4360) with muted green accents (#476043). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted purple primary (#5c4360) on a purple-tinted background (#09050a).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #09050ablack |
| Foreground | #070308black | #ffffffwhite |
| Card | #ffffffwhite | #09050ablack |
| Card foreground | #070308black | #ffffffwhite |
| Popover | #ffffffwhite | #09050ablack |
| Popover foreground | #070308black | #ffffffwhite |
| Primary | #5c4360dimgray | #5c4360dimgray |
| Primary foreground | #ede7eelavender | #ede7eelavender |
| Secondary | #476043darkolivegreen | #476043darkolivegreen |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e6f1e4beige | #101b0eblack |
| Muted foreground | #444c43darkslategray | #b5bcb3silver |
| Accent | #476043darkolivegreen | #476043darkolivegreen |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #611e0amaroon | #e74c1dchocolate |
| Destructive foreground | #f6baa7lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5c4360dimgray | #5c4360dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.47:1 | AAA |
| Text on card | 20.47:1 | AAA |
| Primary button | 7.12:1 | AAA |
| Secondary button | 6.91:1 | AA |
| Muted text | 7.66:1 | AAA |
| Accent | 6.91:1 | AA |
| Destructive | 7.34:1 | AAA |
| Text on background | 20.20:1 | AAA |
| Text on card | 20.20:1 | AAA |
| Primary button | 7.12:1 | AAA |
| Secondary button | 6.91:1 | AA |
| Muted text | 9.11:1 | AAA |
| Accent | 6.91:1 | AA |
| Destructive | 3.84:1 | AA Large |
Paste this into your globals.css to use Minor-league in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.108 0.021 322.687);
--muted: oklch(0.947 0.022 141.015);
--muted-foreground: oklch(0.406 0.017 140.974);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.108 0.021 322.687);
--card: oklch(1 0 180);
--card-foreground: oklch(0.108 0.021 322.687);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.421 0.057 321.33);
--primary-foreground: oklch(0.935 0.012 321.093);
--secondary: oklch(0.461 0.055 140.817);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.461 0.055 140.817);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.338 0.101 36.679);
--destructive-foreground: oklch(0.838 0.075 37.604);
--ring: oklch(0.421 0.057 321.33);
--chart-1: oklch(0.421 0.057 321.33);
--chart-2: oklch(0.461 0.055 140.817);
--chart-3: oklch(0.461 0.055 140.817);
--chart-4: oklch(0.491 0.06 140.815);
--chart-5: oklch(0.419 0.066 321.364);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.127 0.015 322.056);
--foreground: oklch(1 0 180);
--muted: oklch(0.207 0.031 140.773);
--muted-foreground: oklch(0.787 0.014 141.025);
--popover: oklch(0.127 0.015 322.056);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.127 0.015 322.056);
--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.421 0.057 321.33);
--primary-foreground: oklch(0.935 0.012 321.093);
--secondary: oklch(0.461 0.055 140.817);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.461 0.055 140.817);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.629 0.199 36.119);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.421 0.057 321.33);
--chart-1: oklch(0.421 0.057 321.33);
--chart-2: oklch(0.461 0.055 140.817);
--chart-3: oklch(0.461 0.055 140.817);
--chart-4: oklch(0.491 0.06 140.815);
--chart-5: oklch(0.419 0.066 321.364);
}