Big-hearted is a shadcn/ui theme built around an indigo primary color (#5a4ec6) with green accents (#4ec65a). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the indigo primary (#5a4ec6) on a neutral background (#020104).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbfewhite | #020104black |
| Foreground | #04040cblack | #f9f8fbghostwhite |
| Card | #f8f8fcghostwhite | #030208black |
| Card foreground | #030208black | #fcfcfdwhite |
| Popover | #f8f8fcghostwhite | #030208black |
| Popover foreground | #030208black | #fcfcfdwhite |
| Primary | #5a4ec6slateblue | #5a4ec6slateblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #c65a4eindianred | #c65a4eindianred |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e8d1cfgainsboro | #301a17black |
| Muted foreground | #6b5552dimgray | #ad9794rosybrown |
| Accent | #4ec65amediumseagreen | #4ec65amediumseagreen |
| Accent foreground | #113615darkgreen | #113615darkgreen |
| Destructive | #cd150efirebrick | #e01710red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5a4ec6slateblue | #5a4ec6slateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.83:1 | AAA |
| Text on card | 19.48:1 | AAA |
| Primary button | 6.30:1 | AA |
| Secondary button | 4.23:1 | AA Large |
| Muted text | 4.75:1 | AA |
| Accent | 6.08:1 | AA |
| Destructive | 5.66:1 | AA |
| Text on background | 19.66:1 | AAA |
| Text on card | 20.11:1 | AAA |
| Primary button | 6.30:1 | AA |
| Secondary button | 4.23:1 | AA Large |
| Muted text | 5.94:1 | AA |
| Accent | 6.08:1 | AA |
| Destructive | 4.88:1 | AA |
Paste this into your globals.css to use Big-hearted in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 290.959);
--foreground: oklch(0.111 0.023 288.379);
--muted: oklch(0.879 0.025 25.25);
--muted-foreground: oklch(0.47 0.03 25.633);
--popover: oklch(0.98 0.006 290.902);
--popover-foreground: oklch(0.097 0.02 288.467);
--card: oklch(0.98 0.006 290.902);
--card-foreground: oklch(0.097 0.02 288.467);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.504 0.179 282.362);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.599 0.14 28.388);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.733 0.183 145.153);
--accent-foreground: oklch(0.297 0.071 145.358);
--destructive: oklch(0.539 0.212 29.123);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.504 0.179 282.362);
--chart-1: oklch(0.504 0.179 282.362);
--chart-2: oklch(0.599 0.14 28.388);
--chart-3: oklch(0.733 0.183 145.153);
--chart-4: oklch(0.622 0.13 27.917);
--chart-5: oklch(0.499 0.189 281.601);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.078 0.015 288.678);
--foreground: oklch(0.981 0.004 290.933);
--muted: oklch(0.246 0.037 26.853);
--muted-foreground: oklch(0.695 0.027 25.347);
--popover: oklch(0.098 0.019 288.678);
--popover-foreground: oklch(0.991 0.002 290.974);
--card: oklch(0.098 0.019 288.678);
--card-foreground: oklch(0.991 0.002 290.974);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.504 0.179 282.362);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.599 0.14 28.388);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.733 0.183 145.153);
--accent-foreground: oklch(0.297 0.071 145.358);
--destructive: oklch(0.576 0.228 29.151);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.504 0.179 282.362);
--chart-1: oklch(0.504 0.179 282.362);
--chart-2: oklch(0.599 0.14 28.388);
--chart-3: oklch(0.733 0.183 145.153);
--chart-4: oklch(0.622 0.13 27.917);
--chart-5: oklch(0.499 0.189 281.601);
}