Honest Celery Sprig is a shadcn/ui theme built around a green primary color (#9dd581) with violet accents (#b981d5). The light mode uses a neutral background (#fcfefb). Dark mode keeps the green primary (#9dd581) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfefbwhite | #000000black |
| Foreground | #081104black | #ffffffwhite |
| Card | #f9fdf6mintcream | #030303black |
| Card foreground | #060c03black | #ffffffwhite |
| Popover | #fcfefbwhite | #000000black |
| Popover foreground | #081104black | #ffffffwhite |
| Primary | #9dd581darkseagreen | #9dd581darkseagreen |
| Primary foreground | #0f1b09black | #0f1b09black |
| Secondary | #b981d5orchid | #b981d5orchid |
| Secondary foreground | #15091bblack | #15091bblack |
| Muted | #dcdaddgainsboro | #242225black |
| Muted foreground | #665c6adimgray | #9e95a3darkgray |
| Accent | #b981d5orchid | #b981d5orchid |
| Accent foreground | #15091bblack | #15091bblack |
| Destructive | #b64d11sienna | #ed7c3bcoral |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7e4gainsboro | #1c1d1bblack |
| Input | #e5e7e4gainsboro | #1c1d1bblack |
| Ring | #9dd581darkseagreen | #9dd581darkseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.97:1 | AAA |
| Text on card | 19.26:1 | AAA |
| Primary button | 10.37:1 | AAA |
| Secondary button | 6.57:1 | AA |
| Muted text | 4.55:1 | AA |
| Accent | 6.57:1 | AA |
| Destructive | 5.15:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 10.37:1 | AAA |
| Secondary button | 6.57:1 | AA |
| Muted text | 5.46:1 | AA |
| Accent | 6.57:1 | AA |
| Destructive | 7.54:1 | AAA |
Paste this into your globals.css to use Honest Celery Sprig in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.005 134.853);
--foreground: oklch(0.162 0.031 134.062);
--muted: oklch(0.89 0.005 314.797);
--muted-foreground: oklch(0.49 0.025 314.583);
--popover: oklch(0.995 0.005 134.853);
--popover-foreground: oklch(0.162 0.031 134.062);
--card: oklch(0.99 0.01 134.879);
--card-foreground: oklch(0.145 0.027 133.268);
--border: oklch(0.925 0.004 134.848);
--input: oklch(0.925 0.004 134.848);
--primary: oklch(0.814 0.127 135.773);
--primary-foreground: oklch(0.204 0.037 135.991);
--secondary: oklch(0.69 0.134 313.822);
--secondary-foreground: oklch(0.167 0.04 313.552);
--accent: oklch(0.69 0.134 313.822);
--accent-foreground: oklch(0.167 0.04 313.552);
--destructive: oklch(0.55 0.151 44.664);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.814 0.127 135.773);
--chart-1: oklch(0.814 0.127 135.773);
--chart-2: oklch(0.69 0.134 313.822);
--chart-3: oklch(0.69 0.134 313.822);
--chart-4: oklch(0.717 0.121 313.971);
--chart-5: oklch(0.819 0.134 135.837);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.256 0.007 314.685);
--muted-foreground: oklch(0.681 0.023 314.665);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--card-foreground: oklch(1 0 180);
--border: oklch(0.23 0.006 134.958);
--input: oklch(0.23 0.006 134.958);
--primary: oklch(0.814 0.127 135.773);
--primary-foreground: oklch(0.204 0.037 135.991);
--secondary: oklch(0.69 0.134 313.822);
--secondary-foreground: oklch(0.167 0.04 313.552);
--accent: oklch(0.69 0.134 313.822);
--accent-foreground: oklch(0.167 0.04 313.552);
--destructive: oklch(0.704 0.159 47.929);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.814 0.127 135.773);
--chart-1: oklch(0.814 0.127 135.773);
--chart-2: oklch(0.69 0.134 313.822);
--chart-3: oklch(0.69 0.134 313.822);
--chart-4: oklch(0.717 0.121 313.971);
--chart-5: oklch(0.819 0.134 135.837);
}