Elderberry Moose is a shadcn/ui theme built around a deep violet primary color (#2b1e48) with deep green accents (#3b481e). The light mode uses a neutral background (#f9f8fc). Dark mode keeps the deep violet primary (#2b1e48) on a neutral background (#020104).
| Token | Light | Dark |
|---|---|---|
| Background | #f9f8fcghostwhite | #020104black |
| Foreground | #06040bblack | #f9f9fbghostwhite |
| Card | #f6f5fawhitesmoke | #040308black |
| Card foreground | #040308black | #fcfcfdwhite |
| Popover | #f9f8fcghostwhite | #020104black |
| Popover foreground | #06040bblack | #f9f9fbghostwhite |
| Primary | #2b1e48midnightblue | #2b1e48midnightblue |
| Primary foreground | #c4b7e1thistle | #c4b7e1thistle |
| Secondary | #3b481edarkolivegreen | #3b481edarkolivegreen |
| Secondary foreground | #d4e1b7palegoldenrod | #d4e1b7palegoldenrod |
| Muted | #f4f7edwhitesmoke | #0f1208black |
| Muted foreground | #464743darkslategray | #bbbcb8silver |
| Accent | #3b481edarkolivegreen | #3b481edarkolivegreen |
| Accent foreground | #d4e1b7palegoldenrod | #d4e1b7palegoldenrod |
| Destructive | #9d3407saddlebrown | #f04f0aorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e0dfe2gainsboro | #262428darkslategray |
| Input | #e0dfe2gainsboro | #262428darkslategray |
| Ring | #2b1e48midnightblue | #2b1e48midnightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.31:1 | AAA |
| Text on card | 18.94:1 | AAA |
| Primary button | 8.09:1 | AAA |
| Secondary button | 7.16:1 | AAA |
| Muted text | 8.66:1 | AAA |
| Accent | 7.16:1 | AAA |
| Destructive | 7.20:1 | AAA |
| Text on background | 19.77:1 | AAA |
| Text on card | 20.08:1 | AAA |
| Primary button | 8.09:1 | AAA |
| Secondary button | 7.16:1 | AAA |
| Muted text | 9.92:1 | AAA |
| Accent | 7.16:1 | AAA |
| Destructive | 3.60:1 | AA Large |
Paste this into your globals.css to use Elderberry Moose in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.005 300.691);
--foreground: oklch(0.116 0.022 300.974);
--muted: oklch(0.972 0.014 121.003);
--muted-foreground: oklch(0.395 0.007 121.062);
--popover: oklch(0.982 0.005 300.691);
--popover-foreground: oklch(0.116 0.022 300.974);
--card: oklch(0.972 0.007 300.651);
--card-foreground: oklch(0.101 0.019 301.099);
--border: oklch(0.905 0.004 300.69);
--input: oklch(0.905 0.004 300.69);
--primary: oklch(0.275 0.075 295.652);
--primary-foreground: oklch(0.804 0.06 299.531);
--secondary: oklch(0.379 0.066 124.064);
--secondary-foreground: oklch(0.889 0.057 121.85);
--accent: oklch(0.379 0.066 124.064);
--accent-foreground: oklch(0.889 0.057 121.85);
--destructive: oklch(0.473 0.148 38.866);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.275 0.075 295.652);
--chart-1: oklch(0.275 0.075 295.652);
--chart-2: oklch(0.379 0.066 124.064);
--chart-3: oklch(0.379 0.066 124.064);
--chart-4: oklch(0.416 0.074 124.15);
--chart-5: oklch(0.273 0.08 295.146);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.081 0.015 301.099);
--foreground: oklch(0.983 0.003 300.717);
--muted: oklch(0.174 0.021 122.62);
--muted-foreground: oklch(0.794 0.006 120.891);
--popover: oklch(0.081 0.015 301.099);
--popover-foreground: oklch(0.983 0.003 300.717);
--card: oklch(0.101 0.019 301.099);
--card-foreground: oklch(0.991 0.002 300.742);
--border: oklch(0.265 0.007 300.317);
--input: oklch(0.265 0.007 300.317);
--primary: oklch(0.275 0.075 295.652);
--primary-foreground: oklch(0.804 0.06 299.531);
--secondary: oklch(0.379 0.066 124.064);
--secondary-foreground: oklch(0.889 0.057 121.85);
--accent: oklch(0.379 0.066 124.064);
--accent-foreground: oklch(0.889 0.057 121.85);
--destructive: oklch(0.645 0.207 38.068);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.275 0.075 295.652);
--chart-1: oklch(0.275 0.075 295.652);
--chart-2: oklch(0.379 0.066 124.064);
--chart-3: oklch(0.379 0.066 124.064);
--chart-4: oklch(0.416 0.074 124.15);
--chart-5: oklch(0.273 0.08 295.146);
}