Scooter is a shadcn/ui theme built around a near-black primary color (#040604) with near-black accents (#040606). The light mode uses a neutral background (#fbfefb). Dark mode keeps the near-black primary (#040604) on a green-tinted background (#030c05).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefbwhite | #030c05black |
| Foreground | #030c04black | #f9fbf9mintcream |
| Card | #fbfefbwhite | #030c05black |
| Card foreground | #030c04black | #f9fbf9mintcream |
| Popover | #fbfefbwhite | #030c05black |
| Popover foreground | #030c04black | #f9fbf9mintcream |
| Primary | #040604black | #040604black |
| Primary foreground | #87b58fdarkseagreen | #87b58fdarkseagreen |
| Secondary | #050604black | #050604black |
| Secondary foreground | #96b587darkseagreen | #96b587darkseagreen |
| Muted | #daebd1gainsboro | #1d2e14black |
| Muted foreground | #424c3ddarkslategray | #b8c2b3silver |
| Accent | #040606black | #040606black |
| Accent foreground | #87b5a6darkseagreen | #87b5a6darkseagreen |
| Destructive | #8f2600saddlebrown | #ff5719orangered |
| Destructive foreground | #ffd2c2peachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #040604black | #040604black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.55:1 | AAA |
| Text on card | 19.55:1 | AAA |
| Primary button | 8.73:1 | AAA |
| Secondary button | 8.94:1 | AAA |
| Muted text | 7.17:1 | AAA |
| Accent | 8.88:1 | AAA |
| Destructive | 6.24:1 | AA |
| Text on background | 19.05:1 | AAA |
| Text on card | 19.05:1 | AAA |
| Primary button | 8.73:1 | AAA |
| Secondary button | 8.94:1 | AAA |
| Muted text | 7.84:1 | AAA |
| Accent | 8.88:1 | AAA |
| Destructive | 6.62:1 | AA |
Paste this into your globals.css to use Scooter in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.005 150.749);
--foreground: oklch(0.142 0.027 149.579);
--muted: oklch(0.92 0.039 135.043);
--muted-foreground: oklch(0.404 0.028 135.188);
--popover: oklch(0.994 0.005 150.749);
--popover-foreground: oklch(0.142 0.027 149.579);
--card: oklch(0.994 0.005 150.749);
--card-foreground: oklch(0.142 0.027 149.579);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.119 0.009 150.392);
--primary-foreground: oklch(0.73 0.075 149.314);
--secondary: oklch(0.12 0.009 134.12);
--secondary-foreground: oklch(0.739 0.073 135.367);
--accent: oklch(0.12 0.007 174.699);
--accent-foreground: oklch(0.736 0.054 172.21);
--destructive: oklch(0.433 0.146 36.643);
--destructive-foreground: oklch(0.898 0.055 40.962);
--ring: oklch(0.119 0.009 150.392);
--chart-1: oklch(0.119 0.009 150.392);
--chart-2: oklch(0.12 0.009 134.12);
--chart-3: oklch(0.12 0.007 174.699);
--chart-4: oklch(0.165 0.014 135.279);
--chart-5: oklch(0.119 0.01 150.338);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.141 0.026 149.649);
--foreground: oklch(0.986 0.002 150.786);
--muted: oklch(0.279 0.05 135.995);
--muted-foreground: oklch(0.801 0.024 134.976);
--popover: oklch(0.141 0.026 149.649);
--popover-foreground: oklch(0.986 0.002 150.786);
--card: oklch(0.141 0.026 149.649);
--card-foreground: oklch(0.986 0.002 150.786);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.119 0.009 150.392);
--primary-foreground: oklch(0.73 0.075 149.314);
--secondary: oklch(0.12 0.009 134.12);
--secondary-foreground: oklch(0.739 0.073 135.367);
--accent: oklch(0.12 0.007 174.699);
--accent-foreground: oklch(0.736 0.054 172.21);
--destructive: oklch(0.678 0.214 37.476);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.119 0.009 150.392);
--chart-1: oklch(0.119 0.009 150.392);
--chart-2: oklch(0.12 0.009 134.12);
--chart-3: oklch(0.12 0.007 174.699);
--chart-4: oklch(0.165 0.014 135.279);
--chart-5: oklch(0.119 0.01 150.338);
}