Island is a shadcn/ui theme built around a muted teal primary color (#809d94) with muted yellow accents (#9d9480). The light mode uses a neutral background (#fbfdfd). Dark mode keeps the muted teal primary (#809d94) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfdwhite | #000000black |
| Foreground | #020906black | #f5faf8mintcream |
| Card | #fbfdfdwhite | #000000black |
| Card foreground | #020906black | #f5faf8mintcream |
| Popover | #fbfdfdwhite | #000000black |
| Popover foreground | #020906black | #f5faf8mintcream |
| Primary | #809d94lightslategray | #809d94lightslategray |
| Primary foreground | #000000black | #000000black |
| Secondary | #94809dlightslategray | #94809dlightslategray |
| Secondary foreground | #000000black | #000000black |
| Muted | #ece7eelavender | #161118black |
| Muted foreground | #4d4c4ddarkslategray | #b3b2b3darkgray |
| Accent | #9d9480rosybrown | #9d9480rosybrown |
| Accent foreground | #000000black | #000000black |
| Destructive | #d3250dfirebrick | #f24c36tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #809d94lightslategray | #809d94lightslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.76:1 | AAA |
| Text on card | 19.76:1 | AAA |
| Primary button | 7.19:1 | AAA |
| Secondary button | 5.85:1 | AA |
| Muted text | 7.00:1 | AAA |
| Accent | 6.99:1 | AA |
| Destructive | 5.20:1 | AA |
| Text on background | 19.91:1 | AAA |
| Text on card | 19.91:1 | AAA |
| Primary button | 7.19:1 | AAA |
| Secondary button | 5.85:1 | AA |
| Muted text | 8.83:1 | AAA |
| Accent | 6.99:1 | AA |
| Destructive | 3.58:1 | AA Large |
Paste this into your globals.css to use Island in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 175.549);
--foreground: oklch(0.126 0.017 175.863);
--muted: oklch(0.933 0.012 315.374);
--muted-foreground: oklch(0.417 0.003 315.399);
--popover: oklch(0.994 0.002 175.549);
--popover-foreground: oklch(0.126 0.017 175.863);
--card: oklch(0.994 0.002 175.549);
--card-foreground: oklch(0.126 0.017 175.863);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.672 0.035 173.988);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.629 0.049 315.101);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.669 0.03 86.093);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.558 0.21 30.907);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.672 0.035 173.988);
--chart-1: oklch(0.672 0.035 173.988);
--chart-2: oklch(0.629 0.049 315.101);
--chart-3: oklch(0.669 0.03 86.093);
--chart-4: oklch(0.655 0.045 315.139);
--chart-5: oklch(0.678 0.043 173.617);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.98 0.005 175.46);
--muted: oklch(0.186 0.018 315.028);
--muted-foreground: oklch(0.764 0.002 315.414);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.98 0.005 175.46);
--card: oklch(0 0 0);
--card-foreground: oklch(0.98 0.005 175.46);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.672 0.035 173.988);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.629 0.049 315.101);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.669 0.03 86.093);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.648 0.207 30.78);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.672 0.035 173.988);
--chart-1: oklch(0.672 0.035 173.988);
--chart-2: oklch(0.629 0.049 315.101);
--chart-3: oklch(0.669 0.03 86.093);
--chart-4: oklch(0.655 0.045 315.139);
--chart-5: oklch(0.678 0.043 173.617);
}