Hiccups is a shadcn/ui theme built around a green primary color (#a9cb9f) with muted light green accents (#c6d0c2). The light mode uses a neutral background (#f9fcf8). Dark mode keeps the green primary (#a9cb9f) on a neutral background (#020401).
| Token | Light | Dark |
|---|---|---|
| Background | #f9fcf8mintcream | #020401black |
| Foreground | #050c03black | #f6faf5whitesmoke |
| Card | #f6faf4whitesmoke | #040703black |
| Card foreground | #030802black | #f9fcf8mintcream |
| Popover | #f6faf4whitesmoke | #040703black |
| Popover foreground | #030802black | #f9fcf8mintcream |
| Primary | #a9cb9fdarkseagreen | #a9cb9fdarkseagreen |
| Primary foreground | #182414black | #182414black |
| Secondary | #d7dcd6gainsboro | #191b18black |
| Secondary foreground | #3d453bdarkslategray | #b0b7aedarkgray |
| Muted | #e1eeddgainsboro | #152211black |
| Muted foreground | #565855dimgray | #a7aaa7darkgray |
| Accent | #c6d0c2silver | #2d3829darkslategray |
| Accent foreground | #2d372adarkslategray | #c5d1c1silver |
| Destructive | #9a3709saddlebrown | #f26726chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a9cb9fdarkseagreen | #a9cb9fdarkseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.13:1 | AAA |
| Text on card | 19.18:1 | AAA |
| Primary button | 9.03:1 | AAA |
| Secondary button | 7.13:1 | AAA |
| Muted text | 5.99:1 | AA |
| Accent | 7.82:1 | AAA |
| Destructive | 7.17:1 | AAA |
| Text on background | 19.53:1 | AAA |
| Text on card | 19.55:1 | AAA |
| Primary button | 9.03:1 | AAA |
| Secondary button | 8.44:1 | AAA |
| Muted text | 7.03:1 | AAA |
| Accent | 7.79:1 | AAA |
| Destructive | 6.74:1 | AA |
Paste this into your globals.css to use Hiccups in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.006 138.337);
--foreground: oklch(0.143 0.027 136.615);
--muted: oklch(0.935 0.028 138.362);
--muted-foreground: oklch(0.458 0.006 138.345);
--popover: oklch(0.981 0.009 138.34);
--popover-foreground: oklch(0.125 0.023 136.508);
--card: oklch(0.981 0.009 138.34);
--card-foreground: oklch(0.125 0.023 136.508);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.806 0.071 138.44);
--primary-foreground: oklch(0.245 0.036 138.565);
--secondary: oklch(0.889 0.01 138.341);
--secondary-foreground: oklch(0.379 0.02 138.389);
--accent: oklch(0.847 0.022 138.358);
--accent-foreground: oklch(0.323 0.025 138.426);
--destructive: oklch(0.474 0.142 40.344);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.806 0.071 138.44);
--chart-1: oklch(0.806 0.071 138.44);
--chart-2: oklch(0.889 0.01 138.341);
--chart-3: oklch(0.847 0.022 138.358);
--chart-4: oklch(0.911 0.008 138.339);
--chart-5: oklch(0.81 0.078 138.454);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.014 136.922);
--foreground: oklch(0.981 0.008 138.339);
--muted: oklch(0.235 0.038 138.612);
--muted-foreground: oklch(0.735 0.006 138.338);
--popover: oklch(0.123 0.018 136.922);
--popover-foreground: oklch(0.987 0.006 138.336);
--card: oklch(0.123 0.018 136.922);
--card-foreground: oklch(0.987 0.006 138.336);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.806 0.071 138.44);
--primary-foreground: oklch(0.245 0.036 138.565);
--secondary: oklch(0.219 0.007 138.364);
--secondary-foreground: oklch(0.771 0.015 138.35);
--accent: oklch(0.325 0.029 138.444);
--accent-foreground: oklch(0.848 0.026 138.362);
--destructive: oklch(0.679 0.187 41.991);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.806 0.071 138.44);
--chart-1: oklch(0.806 0.071 138.44);
--chart-2: oklch(0.219 0.007 138.364);
--chart-3: oklch(0.325 0.029 138.444);
--chart-4: oklch(0.252 0.009 138.367);
--chart-5: oklch(0.81 0.078 138.454);
}