Chairlift is a shadcn/ui theme built around a vivid green primary color (#b9f86d) with vivid violet accents (#ac6df8). The light mode uses a neutral background (#fafdf7). Dark mode keeps the vivid green primary (#b9f86d) on a neutral background (#050802).
| Token | Light | Dark |
|---|---|---|
| Background | #fafdf7mintcream | #050802black |
| Foreground | #030401black | #fafcf8snow |
| Card | #fafdf7mintcream | #050802black |
| Card foreground | #030401black | #fafcf8snow |
| Popover | #fafdf7mintcream | #050802black |
| Popover foreground | #030401black | #fafcf8snow |
| Primary | #b9f86dpalegreen | #b9f86dpalegreen |
| Primary foreground | #1c3102black | #1c3102black |
| Secondary | #ac6df8mediumpurple | #ac6df8mediumpurple |
| Secondary foreground | #000000black | #000000black |
| Muted | #e2dbebgainsboro | #1b1424black |
| Muted foreground | #615f63dimgray | #9e9ca0darkgray |
| Accent | #ac6df8mediumpurple | #ac6df8mediumpurple |
| Accent foreground | #000000black | #000000black |
| Destructive | #ab0e03darkred | #fb2718orangered |
| Destructive foreground | #ffe3e1mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b9f86dpalegreen | #b9f86dpalegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.03:1 | AAA |
| Text on card | 20.03:1 | AAA |
| Primary button | 11.23:1 | AAA |
| Secondary button | 6.28:1 | AA |
| Muted text | 4.68:1 | AA |
| Accent | 6.28:1 | AA |
| Destructive | 6.21:1 | AA |
| Text on background | 19.50:1 | AAA |
| Text on card | 19.50:1 | AAA |
| Primary button | 11.23:1 | AAA |
| Secondary button | 6.28:1 | AA |
| Muted text | 6.57:1 | AA |
| Accent | 6.28:1 | AA |
| Destructive | 3.87:1 | AA Large |
Paste this into your globals.css to use Chairlift in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.009 126.543);
--foreground: oklch(0.102 0.017 125.384);
--muted: oklch(0.902 0.022 306.11);
--muted-foreground: oklch(0.488 0.006 306.259);
--popover: oklch(0.99 0.009 126.543);
--popover-foreground: oklch(0.102 0.017 125.384);
--card: oklch(0.99 0.009 126.543);
--card-foreground: oklch(0.102 0.017 125.384);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.909 0.181 129.644);
--primary-foreground: oklch(0.284 0.075 131.222);
--secondary: oklch(0.664 0.202 301.924);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.664 0.202 301.924);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.47 0.186 29.954);
--destructive-foreground: oklch(0.937 0.031 22.607);
--ring: oklch(0.909 0.181 129.644);
--chart-1: oklch(0.909 0.181 129.644);
--chart-2: oklch(0.664 0.202 301.924);
--chart-3: oklch(0.664 0.202 301.924);
--chart-4: oklch(0.695 0.183 302.695);
--chart-5: oklch(0.914 0.186 129.749);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.128 0.02 125.469);
--foreground: oklch(0.988 0.005 126.499);
--muted: oklch(0.209 0.032 304.42);
--muted-foreground: oklch(0.696 0.006 306.32);
--popover: oklch(0.128 0.02 125.469);
--popover-foreground: oklch(0.988 0.005 126.499);
--card: oklch(0.128 0.02 125.469);
--card-foreground: oklch(0.988 0.005 126.499);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.909 0.181 129.644);
--primary-foreground: oklch(0.284 0.075 131.222);
--secondary: oklch(0.664 0.202 301.924);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.664 0.202 301.924);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.634 0.243 29.694);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.909 0.181 129.644);
--chart-1: oklch(0.909 0.181 129.644);
--chart-2: oklch(0.664 0.202 301.924);
--chart-3: oklch(0.664 0.202 301.924);
--chart-4: oklch(0.695 0.183 302.695);
--chart-5: oklch(0.914 0.186 129.749);
}