Hoarse is a shadcn/ui theme built around a vivid light cyan primary color (#bfecfd) with vivid light blue accents (#bfcdfd). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light cyan primary (#bfecfd) on a neutral background (#030607).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030607black |
| Foreground | #031116black | #f6f8f9whitesmoke |
| Card | #ffffffwhite | #030607black |
| Card foreground | #031116black | #f6f8f9whitesmoke |
| Popover | #ffffffwhite | #030607black |
| Popover foreground | #031116black | #f6f8f9whitesmoke |
| Primary | #bfecfdpaleturquoise | #bfecfdpaleturquoise |
| Primary foreground | #011a22black | #011a22black |
| Secondary | #bffdeepaleturquoise | #bffdeepaleturquoise |
| Secondary foreground | #01221bblack | #01221bblack |
| Muted | #eff5f4whitesmoke | #0a100eblack |
| Muted foreground | #4e6a63dimgray | #95b1abdarkgray |
| Accent | #bfcdfdlightblue | #bfcdfdlightblue |
| Accent foreground | #052385midnightblue | #052385midnightblue |
| Destructive | #de0202red | #fc0303red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #bfecfdpaleturquoise | #bfecfdpaleturquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.16:1 | AAA |
| Text on card | 19.16:1 | AAA |
| Primary button | 14.20:1 | AAA |
| Secondary button | 14.81:1 | AAA |
| Muted text | 5.35:1 | AA |
| Accent | 8.45:1 | AAA |
| Destructive | 5.09:1 | AA |
| Text on background | 19.07:1 | AAA |
| Text on card | 19.07:1 | AAA |
| Primary button | 14.20:1 | AAA |
| Secondary button | 14.81:1 | AAA |
| Muted text | 8.37:1 | AAA |
| Accent | 8.45:1 | AAA |
| Destructive | 4.06:1 | AA Large |
Paste this into your globals.css to use Hoarse in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.167 0.023 221.688);
--muted: oklch(0.966 0.007 180.755);
--muted-foreground: oklch(0.499 0.034 178.875);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.167 0.023 221.688);
--card: oklch(1 0 180);
--card-foreground: oklch(0.167 0.023 221.688);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.917 0.052 222.003);
--primary-foreground: oklch(0.201 0.036 224.436);
--secondary: oklch(0.948 0.065 178.865);
--secondary-foreground: oklch(0.227 0.042 173.978);
--accent: oklch(0.855 0.068 271.673);
--accent-foreground: oklch(0.32 0.165 264.313);
--destructive: oklch(0.566 0.232 29.158);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.917 0.052 222.003);
--chart-1: oklch(0.917 0.052 222.003);
--chart-2: oklch(0.948 0.065 178.865);
--chart-3: oklch(0.855 0.068 271.673);
--chart-4: oklch(0.959 0.051 179.387);
--chart-5: oklch(0.918 0.053 222.032);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.118 0.01 217.182);
--foreground: oklch(0.978 0.003 221.331);
--muted: oklch(0.165 0.01 179.055);
--muted-foreground: oklch(0.738 0.032 179.699);
--popover: oklch(0.118 0.01 217.182);
--popover-foreground: oklch(0.978 0.003 221.331);
--card: oklch(0.118 0.01 217.182);
--card-foreground: oklch(0.978 0.003 221.331);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.917 0.052 222.003);
--primary-foreground: oklch(0.201 0.036 224.436);
--secondary: oklch(0.948 0.065 178.865);
--secondary-foreground: oklch(0.227 0.042 173.978);
--accent: oklch(0.855 0.068 271.673);
--accent-foreground: oklch(0.32 0.165 264.313);
--destructive: oklch(0.624 0.255 29.169);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.917 0.052 222.003);
--chart-1: oklch(0.917 0.052 222.003);
--chart-2: oklch(0.948 0.065 178.865);
--chart-3: oklch(0.855 0.068 271.673);
--chart-4: oklch(0.959 0.051 179.387);
--chart-5: oklch(0.918 0.053 222.032);
}