Growing is a shadcn/ui theme built around a neutral gray primary color (#bcb9bb) with muted light purple accents (#d9ced6). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#bcb9bb) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #090207black | #fbf9fasnow |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #040103black | #fdfcfdwhite |
| Popover | #fcfcfcsnow | #030303black |
| Popover foreground | #040103black | #fdfcfdwhite |
| Primary | #bcb9bbsilver | #bcb9bbsilver |
| Primary foreground | #222022black | #222022black |
| Secondary | #e9e7e9lavender | #161215black |
| Secondary foreground | #544a52darkslategray | #b6a5b2darkgray |
| Muted | #eddeealavender | #21121eblack |
| Muted foreground | #5c5c5cdimgray | #a3a3a3darkgray |
| Accent | #d9ced6lightgrey | #31212ddarkslategray |
| Accent foreground | #42343edarkslategray | #cdb6c8silver |
| Destructive | #a71811firebrick | #da1f16crimson |
| Destructive foreground | #fdedeclinen | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #bcb9bbsilver | #bcb9bbsilver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.52:1 | AAA |
| Text on card | 20.32:1 | AAA |
| Primary button | 8.29:1 | AAA |
| Secondary button | 6.87:1 | AA |
| Muted text | 5.16:1 | AA |
| Accent | 7.69:1 | AAA |
| Destructive | 6.64:1 | AA |
| Text on background | 20.03:1 | AAA |
| Text on card | 20.20:1 | AAA |
| Primary button | 8.29:1 | AAA |
| Secondary button | 7.94:1 | AAA |
| Muted text | 7.12:1 | AAA |
| Accent | 8.03:1 | AAA |
| Destructive | 5.00:1 | AA |
Paste this into your globals.css to use Growing in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.106 0.028 334.192);
--muted: oklch(0.916 0.024 333.651);
--muted-foreground: oklch(0.474 0 198.435);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.084 0.022 334.192);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.084 0.022 334.192);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.788 0.004 333.328);
--primary-foreground: oklch(0.247 0.003 333.419);
--secondary: oklch(0.93 0.004 333.312);
--secondary-foreground: oklch(0.422 0.017 333.883);
--accent: oklch(0.864 0.016 333.532);
--accent-foreground: oklch(0.343 0.027 334.452);
--destructive: oklch(0.468 0.177 29.174);
--destructive-foreground: oklch(0.959 0.017 21.123);
--ring: oklch(0.788 0.004 333.328);
--chart-1: oklch(0.788 0.004 333.328);
--chart-2: oklch(0.93 0.004 333.312);
--chart-3: oklch(0.864 0.016 333.532);
--chart-4: oklch(0.953 0.003 333.286);
--chart-5: oklch(0.786 0.011 333.458);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.984 0.002 333.28);
--muted: oklch(0.208 0.034 335.685);
--muted-foreground: oklch(0.716 0 165.964);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.992 0.001 333.26);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.992 0.001 333.26);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.788 0.004 333.328);
--primary-foreground: oklch(0.247 0.003 333.419);
--secondary: oklch(0.19 0.009 333.987);
--secondary-foreground: oklch(0.74 0.026 333.79);
--accent: oklch(0.272 0.031 334.993);
--accent-foreground: oklch(0.802 0.036 333.945);
--destructive: oklch(0.569 0.218 29.281);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.788 0.004 333.328);
--chart-1: oklch(0.788 0.004 333.328);
--chart-2: oklch(0.19 0.009 333.987);
--chart-3: oklch(0.272 0.031 334.993);
--chart-4: oklch(0.223 0.012 334.079);
--chart-5: oklch(0.786 0.011 333.458);
}