Hippopotamus is a shadcn/ui theme built around a muted red primary color (#aa9c97) with muted yellow accents (#aaa597). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted red primary (#aa9c97) on a red-tinted background (#0f0806).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0f0806black |
| Foreground | #120602black | #fbf9f9snow |
| Card | #ffffffwhite | #0f0806black |
| Card foreground | #120602black | #fbf9f9snow |
| Popover | #ffffffwhite | #0f0806black |
| Popover foreground | #120602black | #fbf9f9snow |
| Primary | #aa9c97darkgray | #aa9c97darkgray |
| Primary foreground | #080707black | #080707black |
| Secondary | #aa979cdarkgray | #aa979cdarkgray |
| Secondary foreground | #080707black | #080707black |
| Muted | #f1eeefwhitesmoke | #110e0fblack |
| Muted foreground | #5c5154dimgray | #aea3a6darkgray |
| Accent | #aaa597darkgray | #aaa597darkgray |
| Accent foreground | #080807black | #080807black |
| Destructive | #8c3303saddlebrown | #fa6b1echocolate |
| Destructive foreground | #fed8c3peachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #aa9c97darkgray | #aa9c97darkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.94:1 | AAA |
| Text on card | 19.94:1 | AAA |
| Primary button | 7.55:1 | AAA |
| Secondary button | 7.31:1 | AAA |
| Muted text | 6.61:1 | AA |
| Accent | 8.15:1 | AAA |
| Destructive | 6.11:1 | AA |
| Text on background | 18.95:1 | AAA |
| Text on card | 18.95:1 | AAA |
| Primary button | 7.55:1 | AAA |
| Secondary button | 7.31:1 | AAA |
| Muted text | 7.85:1 | AAA |
| Accent | 8.15:1 | AAA |
| Destructive | 7.21:1 | AAA |
Paste this into your globals.css to use Hippopotamus in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.141 0.028 46.877);
--muted: oklch(0.953 0.003 358.866);
--muted-foreground: oklch(0.448 0.014 359.682);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.141 0.028 46.877);
--card: oklch(1 0 180);
--card-foreground: oklch(0.141 0.028 46.877);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.703 0.018 37.64);
--primary-foreground: oklch(0.132 0.003 38.774);
--secondary: oklch(0.695 0.023 359.723);
--secondary-foreground: oklch(0.13 0.003 358.761);
--accent: oklch(0.722 0.02 90.31);
--accent-foreground: oklch(0.134 0.003 91.16);
--destructive: oklch(0.443 0.132 42.102);
--destructive-foreground: oklch(0.908 0.051 49.99);
--ring: oklch(0.703 0.018 37.64);
--chart-1: oklch(0.703 0.018 37.64);
--chart-2: oklch(0.695 0.023 359.723);
--chart-3: oklch(0.722 0.02 90.31);
--chart-4: oklch(0.721 0.021 359.61);
--chart-5: oklch(0.701 0.024 37.621);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.142 0.014 41.607);
--foreground: oklch(0.984 0.002 37.734);
--muted: oklch(0.167 0.004 359.507);
--muted-foreground: oklch(0.725 0.013 359.277);
--popover: oklch(0.142 0.014 41.607);
--popover-foreground: oklch(0.984 0.002 37.734);
--card: oklch(0.142 0.014 41.607);
--card-foreground: oklch(0.984 0.002 37.734);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.703 0.018 37.64);
--primary-foreground: oklch(0.132 0.003 38.774);
--secondary: oklch(0.695 0.023 359.723);
--secondary-foreground: oklch(0.13 0.003 358.761);
--accent: oklch(0.722 0.02 90.31);
--accent-foreground: oklch(0.134 0.003 91.16);
--destructive: oklch(0.696 0.193 43.611);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.703 0.018 37.64);
--chart-1: oklch(0.703 0.018 37.64);
--chart-2: oklch(0.695 0.023 359.723);
--chart-3: oklch(0.722 0.02 90.31);
--chart-4: oklch(0.721 0.021 359.61);
--chart-5: oklch(0.701 0.024 37.621);
}