Stadium is a shadcn/ui theme built around a deep pink primary color (#25131d) with deep blue accents (#131d25). The light mode uses a neutral background (#fcf8fa). Dark mode keeps the deep pink primary (#25131d) on a neutral background (#070405).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8fasnow | #070405black |
| Foreground | #12030bblack | #f9f5f8whitesmoke |
| Card | #faf5f8whitesmoke | #0a0508black |
| Card foreground | #0d0208black | #fbf9fasnow |
| Popover | #fcf8fasnow | #070405black |
| Popover foreground | #12030bblack | #f9f5f8whitesmoke |
| Primary | #25131dblack | #25131dblack |
| Primary foreground | #cd9db8silver | #cd9db8silver |
| Secondary | #1d2513black | #1d2513black |
| Secondary foreground | #88ab59yellowgreen | #88ab59yellowgreen |
| Muted | #f3f6efwhitesmoke | #0d1009black |
| Muted foreground | #575954dimgray | #a9aba6darkgray |
| Accent | #131d25black | #131d25black |
| Accent foreground | #9db8cdlightsteelblue | #9db8cdlightsteelblue |
| Destructive | #7c290esaddlebrown | #e64d1achocolate |
| Destructive foreground | #f8d1c3peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #25131dblack | #25131dblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.12:1 | AAA |
| Text on card | 18.90:1 | AAA |
| Primary button | 7.65:1 | AAA |
| Secondary button | 6.02:1 | AA |
| Muted text | 6.47:1 | AA |
| Accent | 8.24:1 | AAA |
| Destructive | 6.82:1 | AA |
| Text on background | 18.94:1 | AAA |
| Text on card | 19.26:1 | AAA |
| Primary button | 7.65:1 | AAA |
| Secondary button | 6.02:1 | AA |
| Muted text | 8.26:1 | AAA |
| Accent | 8.24:1 | AAA |
| Destructive | 3.88:1 | AA Large |
Paste this into your globals.css to use Stadium in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.004 341.911);
--foreground: oklch(0.133 0.039 344.503);
--muted: oklch(0.968 0.009 125.868);
--muted-foreground: oklch(0.461 0.009 125.994);
--popover: oklch(0.983 0.004 341.911);
--popover-foreground: oklch(0.133 0.039 344.503);
--card: oklch(0.974 0.006 341.964);
--card-foreground: oklch(0.119 0.034 342.541);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.216 0.035 345.423);
--primary-foreground: oklch(0.749 0.068 343.874);
--secondary: oklch(0.252 0.035 127.779);
--secondary-foreground: oklch(0.697 0.117 128.366);
--accent: oklch(0.226 0.022 241.823);
--accent-foreground: oklch(0.77 0.043 241.094);
--destructive: oklch(0.403 0.121 37.466);
--destructive-foreground: oklch(0.89 0.049 39.274);
--ring: oklch(0.216 0.035 345.423);
--chart-1: oklch(0.216 0.035 345.423);
--chart-2: oklch(0.252 0.035 127.779);
--chart-3: oklch(0.226 0.022 241.823);
--chart-4: oklch(0.29 0.042 127.929);
--chart-5: oklch(0.216 0.038 345.749);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.111 0.011 341.82);
--foreground: oklch(0.975 0.005 341.939);
--muted: oklch(0.168 0.014 126.896);
--muted-foreground: oklch(0.738 0.008 125.881);
--popover: oklch(0.111 0.011 341.82);
--popover-foreground: oklch(0.975 0.005 341.939);
--card: oklch(0.127 0.012 341.82);
--card-foreground: oklch(0.983 0.004 341.895);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.216 0.035 345.423);
--primary-foreground: oklch(0.749 0.068 343.874);
--secondary: oklch(0.252 0.035 127.779);
--secondary-foreground: oklch(0.697 0.117 128.366);
--accent: oklch(0.226 0.022 241.823);
--accent-foreground: oklch(0.77 0.043 241.094);
--destructive: oklch(0.626 0.198 36.833);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.216 0.035 345.423);
--chart-1: oklch(0.216 0.035 345.423);
--chart-2: oklch(0.252 0.035 127.779);
--chart-3: oklch(0.226 0.022 241.823);
--chart-4: oklch(0.29 0.042 127.929);
--chart-5: oklch(0.216 0.038 345.749);
}