Transportation is a shadcn/ui theme built around a muted light green primary color (#bfcbb9) with neutral gray accents (#cbd0c8). The light mode uses a neutral background (#fcfefb). Dark mode keeps the muted light green primary (#bfcbb9) on a neutral background (#040703).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfefbwhite | #040703black |
| Foreground | #020401black | #f9fbf8mintcream |
| Card | #fcfefbwhite | #040703black |
| Card foreground | #020401black | #f9fbf8mintcream |
| Popover | #fcfefbwhite | #040703black |
| Popover foreground | #020401black | #f9fbf8mintcream |
| Primary | #bfcbb9silver | #bfcbb9silver |
| Primary foreground | #272f23darkslategray | #272f23darkslategray |
| Secondary | #cbd0c8lightgrey | #293423darkslategray |
| Secondary foreground | #32372fdarkslategray | #c1cfb9silver |
| Muted | #dfe5dcgainsboro | #1d231ablack |
| Muted foreground | #515d4bdarkolivegreen | #a8b4a2darkgray |
| Accent | #cbd0c8lightgrey | #293423darkslategray |
| Accent foreground | #32372fdarkslategray | #c1cfb9silver |
| Destructive | #cf470cchocolate | #e34d0dorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #bfcbb9silver | #bfcbb9silver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.24:1 | AAA |
| Text on card | 20.24:1 | AAA |
| Primary button | 8.20:1 | AAA |
| Secondary button | 7.74:1 | AAA |
| Muted text | 5.43:1 | AA |
| Accent | 7.74:1 | AAA |
| Destructive | 4.60:1 | AA |
| Text on background | 19.41:1 | AAA |
| Text on card | 19.41:1 | AAA |
| Primary button | 8.20:1 | AAA |
| Secondary button | 8.05:1 | AAA |
| Muted text | 7.39:1 | AAA |
| Accent | 8.05:1 | AAA |
| Destructive | 3.94:1 | AA Large |
Paste this into your globals.css to use Transportation in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 134.843);
--foreground: oklch(0.101 0.021 132.852);
--muted: oklch(0.915 0.015 134.908);
--muted-foreground: oklch(0.463 0.033 135.2);
--popover: oklch(0.994 0.003 134.843);
--popover-foreground: oklch(0.101 0.021 132.852);
--card: oklch(0.994 0.003 134.843);
--card-foreground: oklch(0.101 0.021 132.852);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.827 0.029 135.001);
--primary-foreground: oklch(0.293 0.024 135.27);
--secondary: oklch(0.851 0.011 134.891);
--secondary-foreground: oklch(0.328 0.014 135.043);
--accent: oklch(0.851 0.011 134.891);
--accent-foreground: oklch(0.328 0.014 135.043);
--destructive: oklch(0.582 0.182 38.742);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.827 0.029 135.001);
--chart-1: oklch(0.827 0.029 135.001);
--chart-2: oklch(0.851 0.011 134.891);
--chart-3: oklch(0.851 0.011 134.891);
--chart-4: oklch(0.873 0.009 134.88);
--chart-5: oklch(0.83 0.034 135.035);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.124 0.017 133.484);
--foreground: oklch(0.987 0.005 134.851);
--muted: oklch(0.248 0.02 135.262);
--muted-foreground: oklch(0.755 0.029 135.024);
--popover: oklch(0.124 0.017 133.484);
--popover-foreground: oklch(0.987 0.005 134.851);
--card: oklch(0.124 0.017 133.484);
--card-foreground: oklch(0.987 0.005 134.851);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.827 0.029 135.001);
--primary-foreground: oklch(0.293 0.024 135.27);
--secondary: oklch(0.308 0.032 135.403);
--secondary-foreground: oklch(0.839 0.034 135.035);
--accent: oklch(0.308 0.032 135.403);
--accent-foreground: oklch(0.839 0.034 135.035);
--destructive: oklch(0.621 0.196 38.607);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.827 0.029 135.001);
--chart-1: oklch(0.827 0.029 135.001);
--chart-2: oklch(0.308 0.032 135.403);
--chart-3: oklch(0.308 0.032 135.403);
--chart-4: oklch(0.341 0.037 135.426);
--chart-5: oklch(0.83 0.034 135.035);
}