Flight is a shadcn/ui theme built around a teal primary color (#8ad0c4) with yellow accents (#d0c48a). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#8ad0c4) on a teal-tinted background (#040b0a).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040b0ablack |
| Foreground | #010907black | #fcfdfdwhite |
| Card | #ffffffwhite | #040b0ablack |
| Card foreground | #010907black | #fcfdfdwhite |
| Popover | #ffffffwhite | #040b0ablack |
| Popover foreground | #010907black | #fcfdfdwhite |
| Primary | #8ad0c4skyblue | #8ad0c4skyblue |
| Primary foreground | #0c1d1ablack | #0c1d1ablack |
| Secondary | #c48ad0orchid | #c48ad0orchid |
| Secondary foreground | #1a0c1dblack | #1a0c1dblack |
| Muted | #e7dce9gainsboro | #201623black |
| Muted foreground | #614d66dimgray | #ae99b2darkgray |
| Accent | #d0c48atan | #d0c48atan |
| Accent foreground | #1d1a0cblack | #1d1a0cblack |
| Destructive | #712105maroon | #eb460aorangered |
| Destructive foreground | #fcc1aclightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #8ad0c4skyblue | #8ad0c4skyblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.12:1 | AAA |
| Text on card | 20.12:1 | AAA |
| Primary button | 9.90:1 | AAA |
| Secondary button | 7.09:1 | AAA |
| Muted text | 5.74:1 | AA |
| Accent | 9.89:1 | AAA |
| Destructive | 6.95:1 | AA |
| Text on background | 19.45:1 | AAA |
| Text on card | 19.45:1 | AAA |
| Primary button | 9.90:1 | AAA |
| Secondary button | 7.09:1 | AAA |
| Muted text | 6.68:1 | AA |
| Accent | 9.89:1 | AAA |
| Destructive | 3.88:1 | AA Large |
Paste this into your globals.css to use Flight in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.127 0.018 184.021);
--muted: oklch(0.908 0.021 320.012);
--muted-foreground: oklch(0.45 0.047 320.077);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.127 0.018 184.021);
--card: oklch(1 0 180);
--card-foreground: oklch(0.127 0.018 184.021);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.809 0.073 181.601);
--primary-foreground: oklch(0.215 0.024 180.691);
--secondary: oklch(0.715 0.117 320.098);
--secondary-foreground: oklch(0.183 0.041 320.085);
--accent: oklch(0.816 0.076 97.014);
--accent-foreground: oklch(0.217 0.026 97.053);
--destructive: oklch(0.371 0.117 37.75);
--destructive-foreground: oklch(0.858 0.074 40.887);
--ring: oklch(0.809 0.073 181.601);
--chart-1: oklch(0.809 0.073 181.601);
--chart-2: oklch(0.715 0.117 320.098);
--chart-3: oklch(0.816 0.076 97.014);
--chart-4: oklch(0.741 0.106 320.094);
--chart-5: oklch(0.814 0.077 181.423);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.142 0.014 183.737);
--foreground: oklch(0.994 0.002 184.257);
--muted: oklch(0.218 0.029 320.091);
--muted-foreground: oklch(0.71 0.043 320.044);
--popover: oklch(0.142 0.014 183.737);
--popover-foreground: oklch(0.994 0.002 184.257);
--card: oklch(0.142 0.014 183.737);
--card-foreground: oklch(0.994 0.002 184.257);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.809 0.073 181.601);
--primary-foreground: oklch(0.215 0.024 180.691);
--secondary: oklch(0.715 0.117 320.098);
--secondary-foreground: oklch(0.183 0.041 320.085);
--accent: oklch(0.816 0.076 97.014);
--accent-foreground: oklch(0.217 0.026 97.053);
--destructive: oklch(0.628 0.21 36.264);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.809 0.073 181.601);
--chart-1: oklch(0.809 0.073 181.601);
--chart-2: oklch(0.715 0.117 320.098);
--chart-3: oklch(0.816 0.076 97.014);
--chart-4: oklch(0.741 0.106 320.094);
--chart-5: oklch(0.814 0.077 181.423);
}