Steamroller is a shadcn/ui theme built around a neutral gray primary color (#2a2928) with muted orange accents (#c9c2b6). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#2a2928) on an orange-tinted background (#0f0c06).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0f0c06black |
| Foreground | #080602black | #faf8f5whitesmoke |
| Card | #ffffffwhite | #0f0c06black |
| Card foreground | #080602black | #faf8f5whitesmoke |
| Popover | #ffffffwhite | #0f0c06black |
| Popover foreground | #080602black | #faf8f5whitesmoke |
| Primary | #2a2928darkslategray | #2a2928darkslategray |
| Primary foreground | #c3c2c1silver | #c3c2c1silver |
| Secondary | #d7d5d1lightgrey | #171512black |
| Secondary foreground | #3f3c37darkslategray | #b6b0a4darkgray |
| Muted | #e2e1dfgainsboro | #201f1dblack |
| Muted foreground | #545454dimgray | #abababdarkgray |
| Accent | #c9c2b6silver | #312b20darkslategray |
| Accent foreground | #2c2821darkslategray | #cfc6b5silver |
| Destructive | #92130cdarkred | #ed3026crimson |
| Destructive foreground | #fcd6d5mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #2a2928darkslategray | #2a2928darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.24:1 | AAA |
| Text on card | 20.24:1 | AAA |
| Primary button | 8.16:1 | AAA |
| Secondary button | 7.46:1 | AAA |
| Muted text | 5.79:1 | AA |
| Accent | 8.29:1 | AAA |
| Destructive | 6.76:1 | AA |
| Text on background | 18.47:1 | AAA |
| Text on card | 18.47:1 | AAA |
| Primary button | 8.16:1 | AAA |
| Secondary button | 8.44:1 | AAA |
| Muted text | 7.15:1 | AAA |
| Accent | 8.24:1 | AAA |
| Destructive | 4.14:1 | AA Large |
Paste this into your globals.css to use Steamroller in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.124 0.016 90.071);
--muted: oklch(0.91 0.004 83.058);
--muted-foreground: oklch(0.446 0 180);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.124 0.016 90.071);
--card: oklch(1 0 180);
--card-foreground: oklch(0.124 0.016 90.071);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.281 0.002 83.062);
--primary-foreground: oklch(0.815 0.002 83.057);
--secondary: oklch(0.872 0.006 83.061);
--secondary-foreground: oklch(0.357 0.01 83.057);
--accent: oklch(0.816 0.019 83.062);
--accent-foreground: oklch(0.279 0.014 82.983);
--destructive: oklch(0.424 0.162 29.227);
--destructive-foreground: oklch(0.908 0.042 21.516);
--ring: oklch(0.281 0.002 83.062);
--chart-1: oklch(0.281 0.002 83.062);
--chart-2: oklch(0.872 0.006 83.061);
--chart-3: oklch(0.816 0.019 83.062);
--chart-4: oklch(0.895 0.005 83.06);
--chart-5: oklch(0.283 0.005 83.065);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.154 0.014 85.084);
--foreground: oklch(0.98 0.005 83.06);
--muted: oklch(0.24 0.005 83.064);
--muted-foreground: oklch(0.741 0 171.254);
--popover: oklch(0.154 0.014 85.084);
--popover-foreground: oklch(0.98 0.005 83.06);
--card: oklch(0.154 0.014 85.084);
--card-foreground: oklch(0.98 0.005 83.06);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.281 0.002 83.062);
--primary-foreground: oklch(0.815 0.002 83.057);
--secondary: oklch(0.197 0.006 83.05);
--secondary-foreground: oklch(0.759 0.018 83.061);
--accent: oklch(0.294 0.021 82.851);
--accent-foreground: oklch(0.828 0.025 83.053);
--destructive: oklch(0.615 0.225 28.827);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.281 0.002 83.062);
--chart-1: oklch(0.281 0.002 83.062);
--chart-2: oklch(0.197 0.006 83.05);
--chart-3: oklch(0.294 0.021 82.851);
--chart-4: oklch(0.232 0.008 83.042);
--chart-5: oklch(0.283 0.005 83.065);
}