Sweatsuit is a shadcn/ui theme built around a red primary color (#9a3750) with teal accents (#379a81). The light mode uses a neutral background (#fcf8f9). Dark mode keeps the red primary (#9a3750) on a neutral background (#040202).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8f9snow | #040202black |
| Foreground | #080203black | #fbf9fasnow |
| Card | #fbf4f6lavenderblush | #070304black |
| Card foreground | #040102black | #fdfcfcsnow |
| Popover | #fcf8f9snow | #040202black |
| Popover foreground | #080203black | #fbf9fasnow |
| Primary | #9a3750brown | #9a3750brown |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #379a81mediumseagreen | #379a81mediumseagreen |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e8f3f0whitesmoke | #0c1715black |
| Muted foreground | #4c615cdimgray | #9eb3aedarkgray |
| Accent | #379a81mediumseagreen | #379a81mediumseagreen |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #a21401darkred | #e41c01red |
| Destructive foreground | #ffdbd6mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #9a3750brown | #9a3750brown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.48:1 | AAA |
| Text on card | 19.13:1 | AAA |
| Primary button | 6.91:1 | AA |
| Secondary button | 3.45:1 | AA Large |
| Muted text | 5.81:1 | AA |
| Accent | 3.45:1 | AA Large |
| Destructive | 6.18:1 | AA |
| Text on background | 19.79:1 | AAA |
| Text on card | 20.01:1 | AAA |
| Primary button | 6.91:1 | AA |
| Secondary button | 3.45:1 | AA Large |
| Muted text | 8.25:1 | AAA |
| Accent | 3.45:1 | AA Large |
| Destructive | 4.69:1 | AA |
Paste this into your globals.css to use Sweatsuit in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.005 0.02);
--foreground: oklch(0.104 0.021 359.775);
--muted: oklch(0.954 0.012 179.496);
--muted-foreground: oklch(0.474 0.027 178.164);
--popover: oklch(0.982 0.005 0.02);
--popover-foreground: oklch(0.104 0.021 359.775);
--card: oklch(0.972 0.008 0.099);
--card-foreground: oklch(0.082 0.017 359.775);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.484 0.132 8.218);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.621 0.099 173.339);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.621 0.099 173.339);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.456 0.177 31.015);
--destructive-foreground: oklch(0.92 0.04 26.793);
--ring: oklch(0.484 0.132 8.218);
--chart-1: oklch(0.484 0.132 8.218);
--chart-2: oklch(0.621 0.099 173.339);
--chart-3: oklch(0.621 0.099 173.339);
--chart-4: oklch(0.654 0.104 173.288);
--chart-5: oklch(0.485 0.14 8.871);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.086 0.01 359.817);
--foreground: oklch(0.984 0.001 359.905);
--muted: oklch(0.195 0.017 177.044);
--muted-foreground: oklch(0.748 0.024 178.916);
--popover: oklch(0.086 0.01 359.817);
--popover-foreground: oklch(0.984 0.001 359.905);
--card: oklch(0.109 0.012 359.817);
--card-foreground: oklch(0.992 0.001 359.885);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.484 0.132 8.218);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.621 0.099 173.339);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.621 0.099 173.339);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.585 0.23 30.63);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.484 0.132 8.218);
--chart-1: oklch(0.484 0.132 8.218);
--chart-2: oklch(0.621 0.099 173.339);
--chart-3: oklch(0.621 0.099 173.339);
--chart-4: oklch(0.654 0.104 173.288);
--chart-5: oklch(0.485 0.14 8.871);
}