Velodrome is a shadcn/ui theme built around a deep green primary color (#0b470b) with deep red accents (#470b0b). The light mode uses a neutral background (#fbfefb). Dark mode keeps the deep green primary (#0b470b) on a green-tinted background (#040b04).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefbwhite | #040b04black |
| Foreground | #051505black | #ffffffwhite |
| Card | #f8fcf8mintcream | #060f06black |
| Card foreground | #041104black | #ffffffwhite |
| Popover | #fbfefbwhite | #040b04black |
| Popover foreground | #051505black | #ffffffwhite |
| Primary | #0b470bdarkgreen | #0b470bdarkgreen |
| Primary foreground | #3ce23climegreen | #3ce23climegreen |
| Secondary | #0b0b47midnightblue | #0b0b47midnightblue |
| Secondary foreground | #9595efmediumpurple | #9595efmediumpurple |
| Muted | #e6e6ealavender | #151519black |
| Muted foreground | #3d3d43darkslategray | #bcbcc2silver |
| Accent | #470b0bmaroon | #470b0bmaroon |
| Accent foreground | #ef9595darksalmon | #ef9595darksalmon |
| Destructive | #e41f01red | #fe2301orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0b470bdarkgreen | #0b470bdarkgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.49:1 | AAA |
| Text on card | 18.64:1 | AAA |
| Primary button | 6.32:1 | AA |
| Secondary button | 6.79:1 | AA |
| Muted text | 8.69:1 | AAA |
| Accent | 7.13:1 | AAA |
| Destructive | 4.65:1 | AA |
| Text on background | 19.89:1 | AAA |
| Text on card | 19.50:1 | AAA |
| Primary button | 6.32:1 | AA |
| Secondary button | 6.79:1 | AA |
| Muted text | 9.61:1 | AAA |
| Accent | 7.13:1 | AAA |
| Destructive | 3.85:1 | AA Large |
Paste this into your globals.css to use Velodrome in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.004 145.548);
--foreground: oklch(0.174 0.041 143.569);
--muted: oklch(0.927 0.004 286.315);
--muted-foreground: oklch(0.361 0.011 285.841);
--popover: oklch(0.993 0.004 145.548);
--popover-foreground: oklch(0.174 0.041 143.569);
--card: oklch(0.987 0.008 145.518);
--card-foreground: oklch(0.158 0.036 143.642);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.348 0.107 142.828);
--primary-foreground: oklch(0.799 0.243 142.876);
--secondary: oklch(0.206 0.107 271.918);
--secondary-foreground: oklch(0.706 0.131 282.518);
--accent: oklch(0.262 0.09 26.035);
--accent-foreground: oklch(0.761 0.11 19.925);
--destructive: oklch(0.587 0.228 30.976);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.348 0.107 142.828);
--chart-1: oklch(0.348 0.107 142.828);
--chart-2: oklch(0.206 0.107 271.918);
--chart-3: oklch(0.262 0.09 26.035);
--chart-4: oklch(0.228 0.123 271.099);
--chart-5: oklch(0.351 0.11 142.782);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.138 0.022 144.261);
--foreground: oklch(1 0 180);
--muted: oklch(0.199 0.006 285.806);
--muted-foreground: oklch(0.797 0.009 286.196);
--popover: oklch(0.138 0.022 144.261);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.154 0.026 144.211);
--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.348 0.107 142.828);
--primary-foreground: oklch(0.799 0.243 142.876);
--secondary: oklch(0.206 0.107 271.918);
--secondary-foreground: oklch(0.706 0.131 282.518);
--accent: oklch(0.262 0.09 26.035);
--accent-foreground: oklch(0.761 0.11 19.925);
--destructive: oklch(0.635 0.248 30.877);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.348 0.107 142.828);
--chart-1: oklch(0.348 0.107 142.828);
--chart-2: oklch(0.206 0.107 271.918);
--chart-3: oklch(0.262 0.09 26.035);
--chart-4: oklch(0.228 0.123 271.099);
--chart-5: oklch(0.351 0.11 142.782);
}