Excursion is a shadcn/ui theme built around a deep green primary color (#276844) with deep teal accents (#276865). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep green primary (#276844) on a green-tinted background (#040b07).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040b07black |
| Foreground | #010402black | #f6f9f7whitesmoke |
| Card | #fcfcfcsnow | #060f0ablack |
| Card foreground | #000000black | #f9fbfamintcream |
| Popover | #ffffffwhite | #040b07black |
| Popover foreground | #010402black | #f6f9f7whitesmoke |
| Primary | #276844darkslategray | #276844darkslategray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #2a6827forestgreen | #2a6827forestgreen |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #d0e2cflightgrey | #1e301ddarkslategray |
| Muted foreground | #5d665cdimgray | #9aa399darkgray |
| Accent | #276865darkslategray | #276865darkslategray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #c33c13firebrick | #e94b1corangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #276844darkslategray | #276844darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.59:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 6.64:1 | AA |
| Secondary button | 6.73:1 | AA |
| Muted text | 4.40:1 | AA Large |
| Accent | 6.43:1 | AA |
| Destructive | 5.27:1 | AA |
| Text on background | 18.74:1 | AAA |
| Text on card | 18.72:1 | AAA |
| Primary button | 6.64:1 | AA |
| Secondary button | 6.73:1 | AA |
| Muted text | 5.41:1 | AA |
| Accent | 6.43:1 | AA |
| Destructive | 3.83:1 | AA Large |
Paste this into your globals.css to use Excursion in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.099 0.016 162.65);
--muted: oklch(0.895 0.032 143.917);
--muted-foreground: oklch(0.498 0.019 143.905);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.099 0.016 162.65);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.466 0.089 156.166);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.461 0.118 142.555);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.476 0.066 190.587);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.55 0.178 35.881);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.466 0.089 156.166);
--chart-1: oklch(0.466 0.089 156.166);
--chart-2: oklch(0.461 0.118 142.555);
--chart-3: oklch(0.476 0.066 190.587);
--chart-4: oklch(0.496 0.128 142.542);
--chart-5: oklch(0.471 0.094 155.764);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.14 0.016 162.523);
--foreground: oklch(0.979 0.004 162.519);
--muted: oklch(0.286 0.042 143.235);
--muted-foreground: oklch(0.705 0.017 143.985);
--popover: oklch(0.14 0.016 162.523);
--popover-foreground: oklch(0.979 0.004 162.519);
--card: oklch(0.156 0.019 161.046);
--card-foreground: oklch(0.986 0.003 162.553);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.466 0.089 156.166);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.461 0.118 142.555);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.476 0.066 190.587);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.63 0.201 36.029);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.466 0.089 156.166);
--chart-1: oklch(0.466 0.089 156.166);
--chart-2: oklch(0.461 0.118 142.555);
--chart-3: oklch(0.476 0.066 190.587);
--chart-4: oklch(0.496 0.128 142.542);
--chart-5: oklch(0.471 0.094 155.764);
}