Bike is a shadcn/ui theme built around a vivid light red primary color (#fadad1) with vivid light cyan accents (#d1f1fa). The light mode uses a neutral background (#fdf8f7). Dark mode keeps the vivid light red primary (#fadad1) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf8f7snow | #000000black |
| Foreground | #040201black | #fbf9f9snow |
| Card | #fdf8f7snow | #000000black |
| Card foreground | #040201black | #fbf9f9snow |
| Popover | #fdf8f7snow | #000000black |
| Popover foreground | #040201black | #fbf9f9snow |
| Primary | #fadad1bisque | #fadad1bisque |
| Primary foreground | #8b2b0esaddlebrown | #8b2b0esaddlebrown |
| Secondary | #d1f1falightcyan | #d1f1falightcyan |
| Secondary foreground | #05252eblack | #05252eblack |
| Muted | #e2e7e9lavender | #161b1dblack |
| Muted foreground | #455559darkslategray | #a6b5badarkgray |
| Accent | #d1f1falightcyan | #d1f1falightcyan |
| Accent foreground | #05252eblack | #05252eblack |
| Destructive | #8d0c07darkred | #f53f38tomato |
| Destructive foreground | #fccbcapink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fadad1bisque | #fadad1bisque |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.70:1 | AAA |
| Text on card | 19.70:1 | AAA |
| Primary button | 6.55:1 | AA |
| Secondary button | 13.44:1 | AAA |
| Muted text | 6.25:1 | AA |
| Accent | 13.44:1 | AAA |
| Destructive | 6.67:1 | AA |
| Text on background | 20.02:1 | AAA |
| Text on card | 20.02:1 | AAA |
| Primary button | 6.55:1 | AA |
| Secondary button | 13.44:1 | AAA |
| Muted text | 8.20:1 | AAA |
| Accent | 13.44:1 | AAA |
| Destructive | 3.73:1 | AA Large |
Paste this into your globals.css to use Bike in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.005 37.718);
--foreground: oklch(0.088 0.014 47.31);
--muted: oklch(0.925 0.006 217.779);
--muted-foreground: oklch(0.436 0.021 218.173);
--popover: oklch(0.983 0.005 37.718);
--popover-foreground: oklch(0.088 0.014 47.31);
--card: oklch(0.983 0.005 37.718);
--card-foreground: oklch(0.088 0.014 47.31);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.913 0.038 37.608);
--primary-foreground: oklch(0.432 0.136 36.215);
--secondary: oklch(0.937 0.036 218.05);
--secondary-foreground: oklch(0.245 0.041 222.232);
--accent: oklch(0.937 0.036 218.05);
--accent-foreground: oklch(0.245 0.041 222.232);
--destructive: oklch(0.408 0.16 29.098);
--destructive-foreground: oklch(0.885 0.056 20.566);
--ring: oklch(0.913 0.038 37.608);
--chart-1: oklch(0.913 0.038 37.608);
--chart-2: oklch(0.937 0.036 218.05);
--chart-3: oklch(0.937 0.036 218.05);
--chart-4: oklch(0.956 0.025 217.931);
--chart-5: oklch(0.913 0.04 37.605);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.984 0.002 37.733);
--muted: oklch(0.219 0.008 218.04);
--muted-foreground: oklch(0.764 0.019 217.914);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.984 0.002 37.733);
--card: oklch(0 0 0);
--card-foreground: oklch(0.984 0.002 37.733);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.913 0.038 37.608);
--primary-foreground: oklch(0.432 0.136 36.215);
--secondary: oklch(0.937 0.036 218.05);
--secondary-foreground: oklch(0.245 0.041 222.232);
--accent: oklch(0.937 0.036 218.05);
--accent-foreground: oklch(0.245 0.041 222.232);
--destructive: oklch(0.64 0.219 27.44);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.913 0.038 37.608);
--chart-1: oklch(0.913 0.038 37.608);
--chart-2: oklch(0.937 0.036 218.05);
--chart-3: oklch(0.937 0.036 218.05);
--chart-4: oklch(0.956 0.025 217.931);
--chart-5: oklch(0.913 0.04 37.605);
}