Tire is a shadcn/ui theme built around a light red primary color (#ebc6cd) with light orange accents (#ebd2c6). The light mode uses a neutral background (#ffffff). Dark mode keeps the light red primary (#ebc6cd) on a neutral background (#040102).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040102black |
| Foreground | #0c0305black | #ffffffwhite |
| Card | #ffffffwhite | #040102black |
| Card foreground | #0c0305black | #ffffffwhite |
| Popover | #ffffffwhite | #040102black |
| Popover foreground | #0c0305black | #ffffffwhite |
| Primary | #ebc6cdpink | #ebc6cdpink |
| Primary foreground | #5f212csaddlebrown | #5f212csaddlebrown |
| Secondary | #ebc6e0thistle | #ebc6e0thistle |
| Secondary foreground | #5f214bdarkslategray | #5f214bdarkslategray |
| Muted | #f0e5edlinen | #1a0f16black |
| Muted foreground | #594a54dimgray | #b5a6b0darkgray |
| Accent | #ebd2c6wheat | #ebd2c6wheat |
| Accent foreground | #5f3421saddlebrown | #5f3421saddlebrown |
| Destructive | #a72501firebrick | #ef3501orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ebc6cdpink | #ebc6cdpink |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.37:1 | AAA |
| Text on card | 20.37:1 | AAA |
| Primary button | 7.76:1 | AAA |
| Secondary button | 7.58:1 | AAA |
| Muted text | 6.77:1 | AA |
| Accent | 7.28:1 | AAA |
| Destructive | 7.19:1 | AAA |
| Text on background | 20.77:1 | AAA |
| Text on card | 20.77:1 | AAA |
| Primary button | 7.76:1 | AAA |
| Secondary button | 7.58:1 | AAA |
| Muted text | 8.05:1 | AAA |
| Accent | 7.28:1 | AAA |
| Destructive | 4.07:1 | AA Large |
Paste this into your globals.css to use Tire in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.119 0.023 4.991);
--muted: oklch(0.933 0.016 336.881);
--muted-foreground: oklch(0.429 0.025 337.667);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.119 0.023 4.991);
--card: oklch(1 0 180);
--card-foreground: oklch(0.119 0.023 4.991);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.861 0.043 5.623);
--primary-foreground: oklch(0.344 0.091 12.167);
--secondary: oklch(0.866 0.054 337.729);
--secondary-foreground: oklch(0.356 0.106 342.063);
--accent: oklch(0.881 0.033 46.471);
--accent-foreground: oklch(0.375 0.069 44.947);
--destructive: oklch(0.477 0.171 34.002);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.861 0.043 5.623);
--chart-1: oklch(0.861 0.043 5.623);
--chart-2: oklch(0.866 0.054 337.729);
--chart-3: oklch(0.881 0.033 46.471);
--chart-4: oklch(0.893 0.043 337.468);
--chart-5: oklch(0.859 0.046 5.707);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.083 0.014 4.715);
--foreground: oklch(1 0 180);
--muted: oklch(0.186 0.023 338.837);
--muted-foreground: oklch(0.741 0.022 337.127);
--popover: oklch(0.083 0.014 4.715);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.083 0.014 4.715);
--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.861 0.043 5.623);
--primary-foreground: oklch(0.344 0.091 12.167);
--secondary: oklch(0.866 0.054 337.729);
--secondary-foreground: oklch(0.356 0.106 342.063);
--accent: oklch(0.881 0.033 46.471);
--accent-foreground: oklch(0.375 0.069 44.947);
--destructive: oklch(0.618 0.226 33.35);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.861 0.043 5.623);
--chart-1: oklch(0.861 0.043 5.623);
--chart-2: oklch(0.866 0.054 337.729);
--chart-3: oklch(0.881 0.033 46.471);
--chart-4: oklch(0.893 0.043 337.468);
--chart-5: oklch(0.859 0.046 5.707);
}