Hose is a shadcn/ui theme built around a muted light green primary color (#d6d8d0) with muted light purple accents (#d8d0d6). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light green primary (#d6d8d0) on a green-tinted background (#090a05).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #090a05black |
| Foreground | #040501black | #f8f8f6whitesmoke |
| Card | #fcfcfcsnow | #0c0e07black |
| Card foreground | #000000black | #fafbf9snow |
| Popover | #fcfcfcsnow | #0c0e07black |
| Popover foreground | #000000black | #fafbf9snow |
| Primary | #d6d8d0lightgrey | #d6d8d0lightgrey |
| Primary foreground | #3d4035darkslategray | #3d4035darkslategray |
| Secondary | #d0d6d8lightgrey | #d0d6d8lightgrey |
| Secondary foreground | #353d40darkslategray | #353d40darkslategray |
| Muted | #cfdee2gainsboro | #1d2b30darkslategray |
| Muted foreground | #424343darkslategray | #bcbdbdsilver |
| Accent | #d8d0d6lightgrey | #d8d0d6lightgrey |
| Accent foreground | #40353ddarkslategray | #40353ddarkslategray |
| Destructive | #d22304firebrick | #fa3b19orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d6d8d0lightgrey | #d6d8d0lightgrey |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.44:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 7.32:1 | AAA |
| Secondary button | 7.52:1 | AAA |
| Muted text | 7.16:1 | AAA |
| Accent | 7.72:1 | AAA |
| Destructive | 5.27:1 | AA |
| Text on background | 18.66:1 | AAA |
| Text on card | 18.75:1 | AAA |
| Primary button | 7.32:1 | AAA |
| Secondary button | 7.52:1 | AAA |
| Muted text | 7.74:1 | AAA |
| Accent | 7.72:1 | AAA |
| Destructive | 3.67:1 | AA Large |
Paste this into your globals.css to use Hose in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.106 0.02 118.08);
--muted: oklch(0.89 0.017 219.66);
--muted-foreground: oklch(0.381 0.001 219.535);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.877 0.011 118.042);
--primary-foreground: oklch(0.365 0.018 118.7);
--secondary: oklch(0.871 0.007 219.566);
--secondary-foreground: oklch(0.355 0.012 219.802);
--accent: oklch(0.865 0.012 334.103);
--accent-foreground: oklch(0.345 0.02 334.818);
--destructive: oklch(0.555 0.211 31.541);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.877 0.011 118.042);
--chart-1: oklch(0.877 0.011 118.042);
--chart-2: oklch(0.871 0.007 219.566);
--chart-3: oklch(0.865 0.012 334.103);
--chart-4: oklch(0.894 0.006 219.554);
--chart-5: oklch(0.88 0.014 118.113);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.142 0.013 117.95);
--foreground: oklch(0.98 0.003 117.88);
--muted: oklch(0.278 0.021 220.508);
--muted-foreground: oklch(0.798 0.001 219.518);
--popover: oklch(0.157 0.015 118.958);
--popover-foreground: oklch(0.986 0.002 117.861);
--card: oklch(0.157 0.015 118.958);
--card-foreground: oklch(0.986 0.002 117.861);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.877 0.011 118.042);
--primary-foreground: oklch(0.365 0.018 118.7);
--secondary: oklch(0.871 0.007 219.566);
--secondary-foreground: oklch(0.355 0.012 219.802);
--accent: oklch(0.865 0.012 334.103);
--accent-foreground: oklch(0.345 0.02 334.818);
--destructive: oklch(0.645 0.23 32.1);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.877 0.011 118.042);
--chart-1: oklch(0.877 0.011 118.042);
--chart-2: oklch(0.871 0.007 219.566);
--chart-3: oklch(0.865 0.012 334.103);
--chart-4: oklch(0.894 0.006 219.554);
--chart-5: oklch(0.88 0.014 118.113);
}