Hygienic is a shadcn/ui theme built around a red primary color (#ba7d7f) with orange accents (#ba997d). The light mode uses a neutral background (#fdf7f7). Dark mode keeps the red primary (#ba7d7f) on a neutral background (#030202).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7f7snow | #030202black |
| Foreground | #0c0303black | #fdfcfcsnow |
| Card | #fdf7f7snow | #030202black |
| Card foreground | #0c0303black | #fdfcfcsnow |
| Popover | #fdf7f7snow | #030202black |
| Popover foreground | #0c0303black | #fdfcfcsnow |
| Primary | #ba7d7frosybrown | #ba7d7frosybrown |
| Primary foreground | #030202black | #030202black |
| Secondary | #ba7d9erosybrown | #ba7d9erosybrown |
| Secondary foreground | #030203black | #030203black |
| Muted | #e7dae1gainsboro | #25181fblack |
| Muted foreground | #473840darkslategray | #c7b8c0silver |
| Accent | #ba997drosybrown | #ba997drosybrown |
| Accent foreground | #030202black | #030202black |
| Destructive | #933006saddlebrown | #f5540forangered |
| Destructive foreground | #fddccebisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ba7d7frosybrown | #ba7d7frosybrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.20:1 | AAA |
| Text on card | 19.20:1 | AAA |
| Primary button | 6.23:1 | AA |
| Secondary button | 6.41:1 | AA |
| Muted text | 8.11:1 | AAA |
| Accent | 7.87:1 | AAA |
| Destructive | 6.10:1 | AA |
| Text on background | 20.25:1 | AAA |
| Text on card | 20.25:1 | AAA |
| Primary button | 6.23:1 | AA |
| Secondary button | 6.41:1 | AA |
| Muted text | 8.98:1 | AAA |
| Accent | 7.87:1 | AAA |
| Destructive | 3.40:1 | AA Large |
Paste this into your globals.css to use Hygienic in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.98 0.007 14.926);
--foreground: oklch(0.118 0.022 17.772);
--muted: oklch(0.9 0.018 343.927);
--muted-foreground: oklch(0.361 0.025 345.12);
--popover: oklch(0.98 0.007 14.926);
--popover-foreground: oklch(0.118 0.022 17.772);
--card: oklch(0.98 0.007 14.926);
--card-foreground: oklch(0.118 0.022 17.772);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.652 0.077 17.2);
--primary-foreground: oklch(0.087 0.007 15.982);
--secondary: oklch(0.662 0.088 346.534);
--secondary-foreground: oklch(0.088 0.009 343.398);
--accent: oklch(0.707 0.056 62.91);
--accent-foreground: oklch(0.093 0.005 68.536);
--destructive: oklch(0.452 0.141 39.02);
--destructive-foreground: oklch(0.918 0.041 44.583);
--ring: oklch(0.652 0.077 17.2);
--chart-1: oklch(0.652 0.077 17.2);
--chart-2: oklch(0.662 0.088 346.534);
--chart-3: oklch(0.707 0.056 62.91);
--chart-4: oklch(0.688 0.08 346.174);
--chart-5: oklch(0.65 0.085 17.487);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.087 0.008 16.079);
--foreground: oklch(0.992 0.001 14.802);
--muted: oklch(0.229 0.025 346.01);
--muted-foreground: oklch(0.797 0.021 344.081);
--popover: oklch(0.087 0.008 16.079);
--popover-foreground: oklch(0.992 0.001 14.802);
--card: oklch(0.087 0.008 16.079);
--card-foreground: oklch(0.992 0.001 14.802);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.652 0.077 17.2);
--primary-foreground: oklch(0.087 0.007 15.982);
--secondary: oklch(0.662 0.088 346.534);
--secondary-foreground: oklch(0.088 0.009 343.398);
--accent: oklch(0.707 0.056 62.91);
--accent-foreground: oklch(0.093 0.005 68.536);
--destructive: oklch(0.659 0.208 38.588);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.652 0.077 17.2);
--chart-1: oklch(0.652 0.077 17.2);
--chart-2: oklch(0.662 0.088 346.534);
--chart-3: oklch(0.707 0.056 62.91);
--chart-4: oklch(0.688 0.08 346.174);
--chart-5: oklch(0.65 0.085 17.487);
}