Sweatsuit is a shadcn/ui theme built around a vivid blue primary color (#5875f3) with vivid yellow accents (#f3d758). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid blue primary (#5875f3) on a neutral background (#030407).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030407black |
| Foreground | #04050cblack | #f5f6f9whitesmoke |
| Card | #fcfcfcsnow | #05060ablack |
| Card foreground | #020308black | #f9f9fbghostwhite |
| Popover | #ffffffwhite | #030407black |
| Popover foreground | #04050cblack | #f5f6f9whitesmoke |
| Primary | #5875f3royalblue | #5875f3royalblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #f3d758sandybrown | #f3d758sandybrown |
| Secondary foreground | #181402black | #181402black |
| Muted | #f6f5efwhitesmoke | #100f09black |
| Muted foreground | #6e6a59dimgray | #a6a291darkgray |
| Accent | #f3d758sandybrown | #f3d758sandybrown |
| Accent foreground | #181402black | #181402black |
| Destructive | #d82003firebrick | #fb3213orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5875f3royalblue | #5875f3royalblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.34:1 | AAA |
| Text on card | 20.16:1 | AAA |
| Primary button | 4.00:1 | AA Large |
| Secondary button | 12.87:1 | AAA |
| Muted text | 4.95:1 | AA |
| Accent | 12.87:1 | AAA |
| Destructive | 5.09:1 | AA |
| Text on background | 18.96:1 | AAA |
| Text on card | 19.25:1 | AAA |
| Primary button | 4.00:1 | AA Large |
| Secondary button | 12.87:1 | AAA |
| Muted text | 7.48:1 | AAA |
| Accent | 12.87:1 | AAA |
| Destructive | 3.76:1 | AA Large |
Paste this into your globals.css to use Sweatsuit in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.117 0.018 269.768);
--muted: oklch(0.968 0.008 96.27);
--muted-foreground: oklch(0.524 0.027 96.741);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.117 0.018 269.768);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.102 0.016 269.664);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.607 0.192 270.225);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.88 0.147 96.556);
--secondary-foreground: oklch(0.19 0.035 98.488);
--accent: oklch(0.88 0.147 96.556);
--accent-foreground: oklch(0.19 0.035 98.488);
--destructive: oklch(0.564 0.218 31.064);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.607 0.192 270.225);
--chart-1: oklch(0.607 0.192 270.225);
--chart-2: oklch(0.88 0.147 96.556);
--chart-3: oklch(0.88 0.147 96.556);
--chart-4: oklch(0.889 0.138 96.791);
--chart-5: oklch(0.604 0.198 269.956);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.108 0.01 272.55);
--foreground: oklch(0.974 0.005 276.105);
--muted: oklch(0.168 0.012 96.946);
--muted-foreground: oklch(0.712 0.026 96.583);
--popover: oklch(0.108 0.01 272.55);
--popover-foreground: oklch(0.974 0.005 276.105);
--card: oklch(0.123 0.011 272.55);
--card-foreground: oklch(0.982 0.003 276.125);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.607 0.192 270.225);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.88 0.147 96.556);
--secondary-foreground: oklch(0.19 0.035 98.488);
--accent: oklch(0.88 0.147 96.556);
--accent-foreground: oklch(0.19 0.035 98.488);
--destructive: oklch(0.64 0.237 31.391);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.607 0.192 270.225);
--chart-1: oklch(0.607 0.192 270.225);
--chart-2: oklch(0.88 0.147 96.556);
--chart-3: oklch(0.88 0.147 96.556);
--chart-4: oklch(0.889 0.138 96.791);
--chart-5: oklch(0.604 0.198 269.956);
}