Sailing is a shadcn/ui theme built around a muted light yellow primary color (#f8f8f6) with muted light blue accents (#f6f7f8). The light mode uses a neutral background (#fdfdfb). Dark mode keeps the muted light yellow primary (#f8f8f6) on a yellow-tinted background (#100e05).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfdfbsnow | #100e05black |
| Foreground | #110f03black | #fdfdfcwhite |
| Card | #fdfdfbsnow | #100e05black |
| Card foreground | #110f03black | #fdfdfcwhite |
| Popover | #fdfdfbsnow | #100e05black |
| Popover foreground | #110f03black | #fdfdfcwhite |
| Primary | #f8f8f6whitesmoke | #f8f8f6whitesmoke |
| Primary foreground | #323025darkslategray | #323025darkslategray |
| Secondary | #f6f7f8whitesmoke | #f6f7f8whitesmoke |
| Secondary foreground | #50556ddimgray | #50556ddimgray |
| Muted | #eaebf1lavender | #0e0f15black |
| Muted foreground | #464958darkslategray | #a7aab9darkgray |
| Accent | #f6f7f8whitesmoke | #f6f7f8whitesmoke |
| Accent foreground | #50556ddimgray | #50556ddimgray |
| Destructive | #8f0b04darkred | #f8352aorangered |
| Destructive foreground | #fdcbc9pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f8f8f6whitesmoke | #f8f8f6whitesmoke |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.89:1 | AAA |
| Text on card | 18.89:1 | AAA |
| Primary button | 12.48:1 | AAA |
| Secondary button | 6.82:1 | AA |
| Muted text | 7.47:1 | AAA |
| Accent | 6.82:1 | AA |
| Destructive | 6.53:1 | AA |
| Text on background | 19.01:1 | AAA |
| Text on card | 19.01:1 | AAA |
| Primary button | 12.48:1 | AAA |
| Secondary button | 6.82:1 | AA |
| Muted text | 8.25:1 | AAA |
| Accent | 6.82:1 | AA |
| Destructive | 3.78:1 | AA Large |
Paste this into your globals.css to use Sailing in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 97.289);
--foreground: oklch(0.166 0.024 99.862);
--muted: oklch(0.94 0.008 277.141);
--muted-foreground: oklch(0.409 0.025 276.356);
--popover: oklch(0.994 0.002 97.289);
--popover-foreground: oklch(0.166 0.024 99.862);
--card: oklch(0.994 0.002 97.289);
--card-foreground: oklch(0.166 0.024 99.862);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.979 0.003 97.295);
--primary-foreground: oklch(0.307 0.019 97.969);
--secondary: oklch(0.975 0.003 277.223);
--secondary-foreground: oklch(0.454 0.039 275.915);
--accent: oklch(0.975 0.003 277.223);
--accent-foreground: oklch(0.454 0.039 275.915);
--destructive: oklch(0.414 0.163 29.623);
--destructive-foreground: oklch(0.886 0.057 21.803);
--ring: oklch(0.979 0.003 97.295);
--chart-1: oklch(0.979 0.003 97.295);
--chart-2: oklch(0.975 0.003 277.223);
--chart-3: oklch(0.975 0.003 277.223);
--chart-4: oklch(1 0 180);
--chart-5: oklch(0.98 0.003 97.302);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.162 0.02 99.429);
--foreground: oklch(0.993 0.001 97.275);
--muted: oklch(0.172 0.013 276.141);
--muted-foreground: oklch(0.741 0.021 276.853);
--popover: oklch(0.162 0.02 99.429);
--popover-foreground: oklch(0.993 0.001 97.275);
--card: oklch(0.162 0.02 99.429);
--card-foreground: oklch(0.993 0.001 97.275);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.979 0.003 97.295);
--primary-foreground: oklch(0.307 0.019 97.969);
--secondary: oklch(0.975 0.003 277.223);
--secondary-foreground: oklch(0.454 0.039 275.915);
--accent: oklch(0.975 0.003 277.223);
--accent-foreground: oklch(0.454 0.039 275.915);
--destructive: oklch(0.638 0.231 28.745);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.979 0.003 97.295);
--chart-1: oklch(0.979 0.003 97.295);
--chart-2: oklch(0.975 0.003 277.223);
--chart-3: oklch(0.975 0.003 277.223);
--chart-4: oklch(1 0 180);
--chart-5: oklch(0.98 0.003 97.302);
}