Ride is a shadcn/ui theme built around a cyan primary color (#5596a5) with blue accents (#556ea5). The light mode uses a neutral background (#fbfefe). Dark mode keeps the cyan primary (#5596a5) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefewhite | #000000black |
| Foreground | #010404black | #f7f8f8whitesmoke |
| Card | #f6fcfdmintcream | #030303black |
| Card foreground | #000000black | #f9fafaghostwhite |
| Popover | #fbfefewhite | #000000black |
| Popover foreground | #010404black | #f7f8f8whitesmoke |
| Primary | #5596a5cadetblue | #5596a5cadetblue |
| Primary foreground | #000000black | #000000black |
| Secondary | #55a58ccadetblue | #55a58ccadetblue |
| Secondary foreground | #000000black | #000000black |
| Muted | #d1e0dbgainsboro | #1f2e29darkslategray |
| Muted foreground | #3a4b45darkslategray | #b4c5c0silver |
| Accent | #556ea5steelblue | #556ea5steelblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #df3d07orangered | #f8470dorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5596a5cadetblue | #5596a5cadetblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.23:1 | AAA |
| Text on card | 20.29:1 | AAA |
| Primary button | 6.30:1 | AA |
| Secondary button | 7.13:1 | AAA |
| Muted text | 6.78:1 | AA |
| Accent | 5.03:1 | AA |
| Destructive | 4.38:1 | AA Large |
| Text on background | 19.73:1 | AAA |
| Text on card | 19.77:1 | AAA |
| Primary button | 6.30:1 | AA |
| Secondary button | 7.13:1 | AAA |
| Muted text | 7.93:1 | AAA |
| Accent | 5.03:1 | AA |
| Destructive | 3.56:1 | AA Large |
Paste this into your globals.css to use Ride in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 212.663);
--foreground: oklch(0.096 0.011 208.493);
--muted: oklch(0.894 0.017 175.06);
--muted-foreground: oklch(0.396 0.024 173.74);
--popover: oklch(0.994 0.003 212.663);
--popover-foreground: oklch(0.096 0.011 208.493);
--card: oklch(0.987 0.006 212.667);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.636 0.07 213.848);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.663 0.088 170.664);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.543 0.091 264.606);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.598 0.205 35.282);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.636 0.07 213.848);
--chart-1: oklch(0.636 0.07 213.848);
--chart-2: oklch(0.663 0.088 170.664);
--chart-3: oklch(0.543 0.091 264.606);
--chart-4: oklch(0.686 0.087 171.011);
--chart-5: oklch(0.642 0.075 214.071);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.978 0.001 212.662);
--muted: oklch(0.284 0.021 173.194);
--muted-foreground: oklch(0.81 0.02 174.867);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.978 0.001 212.662);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.985 0.001 212.662);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.636 0.07 213.848);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.663 0.088 170.664);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.543 0.091 264.606);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.65 0.22 35.582);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.636 0.07 213.848);
--chart-1: oklch(0.636 0.07 213.848);
--chart-2: oklch(0.663 0.088 170.664);
--chart-3: oklch(0.543 0.091 264.606);
--chart-4: oklch(0.686 0.087 171.011);
--chart-5: oklch(0.642 0.075 214.071);
}