Speedy is a shadcn/ui theme built around a muted orange primary color (#cbbdaf) with muted violet accents (#bdafcb). The light mode uses a neutral background (#fdfcfc). Dark mode keeps the muted orange primary (#cbbdaf) on a neutral background (#040301).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfcsnow | #040301black |
| Foreground | #140d05black | #fdfcfcsnow |
| Card | #fdfcfcsnow | #040301black |
| Card foreground | #140d05black | #fdfcfcsnow |
| Popover | #fdfcfcsnow | #040301black |
| Popover foreground | #140d05black | #fdfcfcsnow |
| Primary | #cbbdafsilver | #cbbdafsilver |
| Primary foreground | #2b241cblack | #2b241cblack |
| Secondary | #afcbbdsilver | #afcbbdsilver |
| Secondary foreground | #1c2b24darkslategray | #1c2b24darkslategray |
| Muted | #dbf0e6gainsboro | #0f241ablack |
| Muted foreground | #556d61dimgray | #92aa9edarkseagreen |
| Accent | #bdafcbsilver | #bdafcbsilver |
| Accent foreground | #241c2bblack | #241c2bblack |
| Destructive | #721d08maroon | #f05028tomato |
| Destructive foreground | #fac1b3lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #cbbdafsilver | #cbbdafsilver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.88:1 | AAA |
| Text on card | 18.88:1 | AAA |
| Primary button | 8.30:1 | AAA |
| Secondary button | 8.48:1 | AAA |
| Muted text | 4.69:1 | AA |
| Accent | 7.93:1 | AAA |
| Destructive | 7.01:1 | AAA |
| Text on background | 20.17:1 | AAA |
| Text on card | 20.17:1 | AAA |
| Primary button | 8.30:1 | AAA |
| Secondary button | 8.48:1 | AAA |
| Muted text | 6.59:1 | AA |
| Accent | 7.93:1 | AAA |
| Destructive | 3.56:1 | AA Large |
Paste this into your globals.css to use Speedy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 67.804);
--foreground: oklch(0.165 0.02 68.661);
--muted: oklch(0.936 0.025 164.411);
--muted-foreground: oklch(0.511 0.033 163.308);
--popover: oklch(0.993 0.002 67.804);
--popover-foreground: oklch(0.165 0.02 68.661);
--card: oklch(0.993 0.002 67.804);
--card-foreground: oklch(0.165 0.02 68.661);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.805 0.025 67.462);
--primary-foreground: oklch(0.265 0.018 66.944);
--secondary: oklch(0.816 0.036 163.942);
--secondary-foreground: oklch(0.274 0.025 162.502);
--accent: oklch(0.774 0.042 307.861);
--accent-foreground: oklch(0.243 0.03 307.081);
--destructive: oklch(0.37 0.123 34.418);
--destructive-foreground: oklch(0.858 0.069 34.433);
--ring: oklch(0.805 0.025 67.462);
--chart-1: oklch(0.805 0.025 67.462);
--chart-2: oklch(0.816 0.036 163.942);
--chart-3: oklch(0.774 0.042 307.861);
--chart-4: oklch(0.838 0.031 164.119);
--chart-5: oklch(0.806 0.028 67.406);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.094 0.009 74.618);
--foreground: oklch(0.993 0.001 67.808);
--muted: oklch(0.238 0.033 160.629);
--muted-foreground: oklch(0.716 0.031 163.961);
--popover: oklch(0.094 0.009 74.618);
--popover-foreground: oklch(0.993 0.001 67.808);
--card: oklch(0.094 0.009 74.618);
--card-foreground: oklch(0.993 0.001 67.808);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.805 0.025 67.462);
--primary-foreground: oklch(0.265 0.018 66.944);
--secondary: oklch(0.816 0.036 163.942);
--secondary-foreground: oklch(0.274 0.025 162.502);
--accent: oklch(0.774 0.042 307.861);
--accent-foreground: oklch(0.243 0.03 307.081);
--destructive: oklch(0.648 0.203 34.78);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.805 0.025 67.462);
--chart-1: oklch(0.805 0.025 67.462);
--chart-2: oklch(0.816 0.036 163.942);
--chart-3: oklch(0.774 0.042 307.861);
--chart-4: oklch(0.838 0.031 164.119);
--chart-5: oklch(0.806 0.028 67.406);
}