Seaplane is a shadcn/ui theme built around a green primary color (#5b8d49) with pink accents (#8d495b). The light mode uses a neutral background (#f9fdf7). Dark mode keeps the green primary (#5b8d49) on a green-tinted background (#060c03).
| Token | Light | Dark |
|---|---|---|
| Background | #f9fdf7mintcream | #060c03black |
| Foreground | #030902black | #f6f9f6whitesmoke |
| Card | #f9fdf7mintcream | #060c03black |
| Card foreground | #030902black | #f6f9f6whitesmoke |
| Popover | #f9fdf7mintcream | #060c03black |
| Popover foreground | #030902black | #f6f9f6whitesmoke |
| Primary | #5b8d49olivedrab | #5b8d49olivedrab |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #495b8ddarkslateblue | #495b8ddarkslateblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e3e7f3lavender | #0c111cblack |
| Muted foreground | #626364dimgray | #9b9b9ddarkgray |
| Accent | #8d495bdimgray | #8d495bdimgray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #892f0bsaddlebrown | #d44811chocolate |
| Destructive foreground | #fbd9cbbisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5b8d49olivedrab | #5b8d49olivedrab |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.51:1 | AAA |
| Text on card | 19.51:1 | AAA |
| Primary button | 3.90:1 | AA Large |
| Secondary button | 6.62:1 | AA |
| Muted text | 4.86:1 | AA |
| Accent | 6.48:1 | AA |
| Destructive | 6.43:1 | AA |
| Text on background | 18.65:1 | AAA |
| Text on card | 18.65:1 | AAA |
| Primary button | 3.90:1 | AA Large |
| Secondary button | 6.62:1 | AA |
| Muted text | 6.80:1 | AA |
| Accent | 6.48:1 | AA |
| Destructive | 4.41:1 | AA Large |
Paste this into your globals.css to use Seaplane in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.008 137.209);
--foreground: oklch(0.126 0.026 135.172);
--muted: oklch(0.928 0.016 269.969);
--muted-foreground: oklch(0.5 0.002 270.082);
--popover: oklch(0.988 0.008 137.209);
--popover-foreground: oklch(0.126 0.026 135.172);
--card: oklch(0.988 0.008 137.209);
--card-foreground: oklch(0.126 0.026 135.172);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.592 0.113 137.874);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.479 0.085 267.962);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.494 0.095 4.149);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.433 0.13 38.902);
--destructive-foreground: oklch(0.909 0.042 42.78);
--ring: oklch(0.592 0.113 137.874);
--chart-1: oklch(0.592 0.113 137.874);
--chart-2: oklch(0.479 0.085 267.962);
--chart-3: oklch(0.494 0.095 4.149);
--chart-4: oklch(0.503 0.089 267.94);
--chart-5: oklch(0.599 0.122 137.964);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.143 0.025 135.569);
--foreground: oklch(0.98 0.006 137.203);
--muted: oklch(0.178 0.025 268.47);
--muted-foreground: oklch(0.69 0.002 270.095);
--popover: oklch(0.143 0.025 135.569);
--popover-foreground: oklch(0.98 0.006 137.203);
--card: oklch(0.143 0.025 135.569);
--card-foreground: oklch(0.98 0.006 137.203);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.592 0.113 137.874);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.479 0.085 267.962);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.494 0.095 4.149);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.593 0.185 38.254);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.592 0.113 137.874);
--chart-1: oklch(0.592 0.113 137.874);
--chart-2: oklch(0.479 0.085 267.962);
--chart-3: oklch(0.494 0.095 4.149);
--chart-4: oklch(0.503 0.089 267.94);
--chart-5: oklch(0.599 0.122 137.964);
}