Valtteri Bottas is a shadcn/ui theme built around a vivid green primary color (#08c94c) with light green accents (#e1f5e8). The light mode uses a neutral background (#f8fbf9). Dark mode keeps the vivid green primary (#08c94c) on a green-tinted background (#060e09).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fbf9mintcream | #060e09black |
| Foreground | #021208black | #fcfdfcwhite |
| Card | #f5faf7whitesmoke | #08110bblack |
| Card foreground | #020e06black | #ffffffwhite |
| Popover | #f5faf7whitesmoke | #08110bblack |
| Popover foreground | #020e06black | #ffffffwhite |
| Primary | #08c94climegreen | #08c94climegreen |
| Primary foreground | #000c04black | #000502black |
| Secondary | #b5dcc3silver | #173321darkslategray |
| Secondary foreground | #0c1911black | #68ef97mediumaquamarine |
| Muted | #d2e9dagainsboro | #162d1eblack |
| Muted foreground | #586a5edimgray | #95a79bdarkgray |
| Accent | #e1f5e8honeydew | #171d19black |
| Accent foreground | #062712black | #c1d7c9lightgrey |
| Destructive | #e24a0eorangered | #fe6225tomato |
| Destructive foreground | #fff1ebseashell | #000000black |
| Border | #e7e9e8lavender | #1b1d1cblack |
| Input | #e7e9e8lavender | #1b1d1cblack |
| Ring | #08c94climegreen | #08c94climegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.52:1 | AAA |
| Text on card | 18.59:1 | AAA |
| Primary button | 8.95:1 | AAA |
| Secondary button | 12.00:1 | AAA |
| Muted text | 4.52:1 | AA |
| Accent | 14.11:1 | AAA |
| Destructive | 3.65:1 | AA Large |
| Text on background | 19.15:1 | AAA |
| Text on card | 19.11:1 | AAA |
| Primary button | 9.23:1 | AAA |
| Secondary button | 9.38:1 | AAA |
| Muted text | 5.81:1 | AA |
| Accent | 11.24:1 | AAA |
| Destructive | 6.99:1 | AA |
Paste this into your globals.css to use Valtteri Bottas in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.004 157.894);
--foreground: oklch(0.164 0.034 155.688);
--muted: oklch(0.914 0.032 157.234);
--muted-foreground: oklch(0.505 0.028 156.782);
--popover: oklch(0.98 0.006 157.847);
--popover-foreground: oklch(0.145 0.029 157.05);
--card: oklch(0.98 0.006 157.847);
--card-foreground: oklch(0.145 0.029 157.05);
--border: oklch(0.932 0.002 157.942);
--input: oklch(0.932 0.002 157.942);
--primary: oklch(0.728 0.214 147.1);
--primary-foreground: oklch(0.135 0.032 157.368);
--secondary: oklch(0.859 0.053 156.61);
--secondary-foreground: oklch(0.2 0.026 154.79);
--accent: oklch(0.952 0.028 157.359);
--accent-foreground: oklch(0.243 0.056 151.504);
--destructive: oklch(0.616 0.197 37.709);
--destructive-foreground: oklch(0.967 0.017 42.974);
--ring: oklch(0.728 0.214 147.1);
--chart-1: oklch(0.728 0.214 147.1);
--chart-2: oklch(0.859 0.053 156.61);
--chart-3: oklch(0.952 0.028 157.359);
--chart-4: oklch(0.879 0.046 156.844);
--chart-5: oklch(0.736 0.219 146.863);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.153 0.016 156.864);
--foreground: oklch(0.993 0.002 157.948);
--muted: oklch(0.272 0.041 154.225);
--muted-foreground: oklch(0.711 0.025 157.211);
--popover: oklch(0.168 0.019 155.589);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.168 0.019 155.589);
--card-foreground: oklch(1 0 180);
--border: oklch(0.228 0.003 157.68);
--input: oklch(0.228 0.003 157.68);
--primary: oklch(0.728 0.214 147.1);
--primary-foreground: oklch(0.101 0.022 157.533);
--secondary: oklch(0.293 0.048 153.806);
--secondary-foreground: oklch(0.856 0.171 152.477);
--accent: oklch(0.224 0.012 156.757);
--accent-foreground: oklch(0.859 0.031 157.199);
--destructive: oklch(0.691 0.202 39.374);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.728 0.214 147.1);
--chart-1: oklch(0.728 0.214 147.1);
--chart-2: oklch(0.293 0.048 153.806);
--chart-3: oklch(0.224 0.012 156.757);
--chart-4: oklch(0.33 0.056 153.605);
--chart-5: oklch(0.736 0.219 146.863);
}