Hyphenation is a shadcn/ui theme built around a vivid pink primary color (#eb3d6e) with vivid teal accents (#3debb9). The light mode uses a neutral background (#fdf7f9). Dark mode keeps the vivid pink primary (#eb3d6e) on a neutral background (#040102).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7f9snow | #040102black |
| Foreground | #080204black | #ffffffwhite |
| Card | #fcf3f5lavenderblush | #080204black |
| Card foreground | #040102black | #ffffffwhite |
| Popover | #fdf7f9snow | #040102black |
| Popover foreground | #080204black | #ffffffwhite |
| Primary | #eb3d6eindianred | #eb3d6eindianred |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #3debb9turquoise | #3debb9turquoise |
| Secondary foreground | #000000black | #000000black |
| Muted | #e6f4f0honeydew | #0b1915black |
| Muted foreground | #567169dimgray | #8ea9a2darkseagreen |
| Accent | #3debb9turquoise | #3debb9turquoise |
| Accent foreground | #000000black | #000000black |
| Destructive | #852905saddlebrown | #e74808orangered |
| Destructive foreground | #fdd0bfpeachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #eb3d6eindianred | #eb3d6eindianred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.42:1 | AAA |
| Text on card | 19.06:1 | AAA |
| Primary button | 3.87:1 | AA Large |
| Secondary button | 13.74:1 | AAA |
| Muted text | 4.68:1 | AA |
| Accent | 13.74:1 | AAA |
| Destructive | 6.45:1 | AA |
| Text on background | 20.77:1 | AAA |
| Text on card | 20.55:1 | AAA |
| Primary button | 3.87:1 | AA Large |
| Secondary button | 13.74:1 | AAA |
| Muted text | 7.18:1 | AAA |
| Accent | 13.74:1 | AAA |
| Destructive | 3.94:1 | AA Large |
Paste this into your globals.css to use Hyphenation in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.007 357.909);
--foreground: oklch(0.106 0.018 357.502);
--muted: oklch(0.956 0.015 177.247);
--muted-foreground: oklch(0.525 0.035 175.628);
--popover: oklch(0.981 0.007 357.909);
--popover-foreground: oklch(0.106 0.018 357.502);
--card: oklch(0.971 0.01 358.01);
--card-foreground: oklch(0.084 0.014 357.502);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.632 0.21 9.134);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.841 0.154 168.986);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.841 0.154 168.986);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.418 0.132 38.185);
--destructive-foreground: oklch(0.893 0.055 42.695);
--ring: oklch(0.632 0.21 9.134);
--chart-1: oklch(0.632 0.21 9.134);
--chart-2: oklch(0.841 0.154 168.986);
--chart-3: oklch(0.841 0.154 168.986);
--chart-4: oklch(0.849 0.148 169.927);
--chart-5: oklch(0.634 0.215 9.658);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.083 0.015 357.486);
--foreground: oklch(1 0 180);
--muted: oklch(0.198 0.021 174.137);
--muted-foreground: oklch(0.713 0.033 176.309);
--popover: oklch(0.083 0.015 357.486);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.105 0.019 357.486);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.632 0.21 9.134);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.841 0.154 168.986);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.841 0.154 168.986);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.623 0.205 37.036);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.632 0.21 9.134);
--chart-1: oklch(0.632 0.21 9.134);
--chart-2: oklch(0.841 0.154 168.986);
--chart-3: oklch(0.841 0.154 168.986);
--chart-4: oklch(0.849 0.148 169.927);
--chart-5: oklch(0.634 0.215 9.658);
}