Growing is a shadcn/ui theme built around a violet primary color (#8c61b3) with green accents (#87b361). The light mode uses a neutral background (#fdfbfe). Dark mode keeps the violet primary (#8c61b3) on a violet-tinted background (#0b0410).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbfewhite | #0b0410black |
| Foreground | #000000black | #faf9fbghostwhite |
| Card | #faf7fdghostwhite | #0d0514black |
| Card foreground | #000000black | #fcfcfdwhite |
| Popover | #fdfbfewhite | #0b0410black |
| Popover foreground | #000000black | #faf9fbghostwhite |
| Primary | #8c61b3mediumpurple | #8c61b3mediumpurple |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #87b361darkseagreen | #87b361darkseagreen |
| Secondary foreground | #000000black | #000000black |
| Muted | #e0e3degainsboro | #1e211cblack |
| Muted foreground | #666d5fdimgray | #99a092darkgray |
| Accent | #87b361darkseagreen | #87b361darkseagreen |
| Accent foreground | #000000black | #000000black |
| Destructive | #c10606firebrick | #f92f2fcrimson |
| Destructive foreground | #fffafasnow | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #8c61b3mediumpurple | #8c61b3mediumpurple |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.40:1 | AAA |
| Text on card | 19.81:1 | AAA |
| Primary button | 4.69:1 | AA |
| Secondary button | 8.62:1 | AAA |
| Muted text | 4.14:1 | AA Large |
| Accent | 8.62:1 | AAA |
| Destructive | 6.16:1 | AA |
| Text on background | 19.25:1 | AAA |
| Text on card | 19.50:1 | AAA |
| Primary button | 4.69:1 | AA |
| Secondary button | 8.62:1 | AAA |
| Muted text | 6.02:1 | AA |
| Accent | 8.62:1 | AAA |
| Destructive | 3.84:1 | AA Large |
Paste this into your globals.css to use Growing in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.004 309.747);
--foreground: oklch(0 0 0);
--muted: oklch(0.912 0.008 129.873);
--muted-foreground: oklch(0.524 0.024 130.247);
--popover: oklch(0.99 0.004 309.747);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.981 0.008 309.708);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.571 0.13 307.367);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.715 0.121 131.796);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.715 0.121 131.796);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.511 0.207 28.959);
--destructive-foreground: oklch(0.989 0.005 17.243);
--ring: oklch(0.571 0.13 307.367);
--chart-1: oklch(0.571 0.13 307.367);
--chart-2: oklch(0.715 0.121 131.796);
--chart-3: oklch(0.715 0.121 131.796);
--chart-4: oklch(0.734 0.113 131.571);
--chart-5: oklch(0.568 0.14 307.11);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.129 0.032 309.664);
--foreground: oklch(0.983 0.004 309.747);
--muted: oklch(0.244 0.011 130.249);
--muted-foreground: oklch(0.696 0.022 130.108);
--popover: oklch(0.129 0.032 309.664);
--popover-foreground: oklch(0.983 0.004 309.747);
--card: oklch(0.14 0.036 308.306);
--card-foreground: oklch(0.991 0.002 309.766);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.571 0.13 307.367);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.715 0.121 131.796);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.715 0.121 131.796);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.635 0.234 27.129);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.571 0.13 307.367);
--chart-1: oklch(0.571 0.13 307.367);
--chart-2: oklch(0.715 0.121 131.796);
--chart-3: oklch(0.715 0.121 131.796);
--chart-4: oklch(0.734 0.113 131.571);
--chart-5: oklch(0.568 0.14 307.11);
}