Airport is a shadcn/ui theme built around a deep green primary color (#48542b) with deep green accents (#34542b). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep green primary (#48542b) on a green-tinted background (#0c0e06).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0c0e06black |
| Foreground | #090c03black | #fdfdfcwhite |
| Card | #fcfcfcsnow | #0f1208black |
| Card foreground | #060802black | #ffffffwhite |
| Popover | #fcfcfcsnow | #0f1208black |
| Popover foreground | #060802black | #ffffffwhite |
| Primary | #48542bdarkolivegreen | #48542bdarkolivegreen |
| Primary foreground | #dee5cdgainsboro | #dee5cdgainsboro |
| Secondary | #544c2bdarkolivegreen | #544c2bdarkolivegreen |
| Secondary foreground | #e5e0cdgainsboro | #e5e0cdgainsboro |
| Muted | #f0eee5linen | #1a180fblack |
| Muted foreground | #4a473adarkslategray | #c5c1b5silver |
| Accent | #34542bdarkslategray | #34542bdarkslategray |
| Accent foreground | #d1e5cdlightgrey | #d1e5cdlightgrey |
| Destructive | #7e1307maroon | #f43e2aorangered |
| Destructive foreground | #fbc2bblightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #48542bdarkolivegreen | #48542bdarkolivegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.70:1 | AAA |
| Text on card | 19.69:1 | AAA |
| Primary button | 6.26:1 | AA |
| Secondary button | 6.48:1 | AA |
| Muted text | 8.01:1 | AAA |
| Accent | 6.44:1 | AA |
| Destructive | 6.83:1 | AA |
| Text on background | 19.08:1 | AAA |
| Text on card | 18.96:1 | AAA |
| Primary button | 6.26:1 | AA |
| Secondary button | 6.48:1 | AA |
| Muted text | 9.89:1 | AAA |
| Accent | 6.44:1 | AA |
| Destructive | 3.77:1 | AA Large |
Paste this into your globals.css to use Airport in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.148 0.022 120.241);
--muted: oklch(0.948 0.012 95.179);
--muted-foreground: oklch(0.397 0.021 95.563);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.129 0.019 119.904);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.129 0.019 119.904);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.425 0.064 122.806);
--primary-foreground: oklch(0.91 0.034 120.662);
--secondary: oklch(0.416 0.05 95.763);
--secondary-foreground: oklch(0.906 0.027 95.356);
--accent: oklch(0.41 0.076 139.532);
--accent-foreground: oklch(0.901 0.039 139.434);
--destructive: oklch(0.383 0.143 30.601);
--destructive-foreground: oklch(0.863 0.067 25.818);
--ring: oklch(0.425 0.064 122.806);
--chart-1: oklch(0.425 0.064 122.806);
--chart-2: oklch(0.416 0.05 95.763);
--chart-3: oklch(0.41 0.076 139.532);
--chart-4: oklch(0.45 0.055 95.756);
--chart-5: oklch(0.43 0.069 123.037);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.158 0.017 121.153);
--foreground: oklch(0.994 0.002 120.067);
--muted: oklch(0.207 0.017 95.735);
--muted-foreground: oklch(0.811 0.018 95.281);
--popover: oklch(0.174 0.02 121.862);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.174 0.02 121.862);
--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.425 0.064 122.806);
--primary-foreground: oklch(0.91 0.034 120.662);
--secondary: oklch(0.416 0.05 95.763);
--secondary-foreground: oklch(0.906 0.027 95.356);
--accent: oklch(0.41 0.076 139.532);
--accent-foreground: oklch(0.901 0.039 139.434);
--destructive: oklch(0.637 0.221 30.359);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.425 0.064 122.806);
--chart-1: oklch(0.425 0.064 122.806);
--chart-2: oklch(0.416 0.05 95.763);
--chart-3: oklch(0.41 0.076 139.532);
--chart-4: oklch(0.45 0.055 95.756);
--chart-5: oklch(0.43 0.069 123.037);
}