Fundraising is a shadcn/ui theme built around a deep green primary color (#424b0c) with muted light green accents (#d1d5b8). The light mode uses a neutral background (#fbfcf8). Dark mode keeps the deep green primary (#424b0c) on a neutral background (#070802).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcf8snow | #070802black |
| Foreground | #030401black | #fdfdfcwhite |
| Card | #fbfcf8snow | #070802black |
| Card foreground | #030401black | #fdfdfcwhite |
| Popover | #fbfcf8snow | #070802black |
| Popover foreground | #030401black | #fdfdfcwhite |
| Primary | #424b0cdarkolivegreen | #424b0cdarkolivegreen |
| Primary foreground | #c9e141greenyellow | #c9e141greenyellow |
| Secondary | #e0e2d5gainsboro | #343626darkslategray |
| Secondary foreground | #4b4e36darkolivegreen | #ced1bdsilver |
| Muted | #e1e5cdgainsboro | #2f321adarkslategray |
| Muted foreground | #646657dimgray | #a6a899darkgray |
| Accent | #d1d5b8lightgrey | #474b2fdarkolivegreen |
| Accent foreground | #363a22darkslategray | #dde0cdgainsboro |
| Destructive | #b83d14firebrick | #cf4517chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #424b0cdarkolivegreen | #424b0cdarkolivegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.91:1 | AAA |
| Text on card | 19.91:1 | AAA |
| Primary button | 6.39:1 | AA |
| Secondary button | 6.53:1 | AA |
| Muted text | 4.55:1 | AA |
| Accent | 7.82:1 | AAA |
| Destructive | 5.65:1 | AA |
| Text on background | 19.76:1 | AAA |
| Text on card | 19.76:1 | AAA |
| Primary button | 6.39:1 | AA |
| Secondary button | 7.91:1 | AAA |
| Muted text | 5.42:1 | AA |
| Accent | 6.72:1 | AA |
| Destructive | 4.66:1 | AA |
Paste this into your globals.css to use Fundraising in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.005 113.393);
--foreground: oklch(0.102 0.013 114.164);
--muted: oklch(0.913 0.033 113.975);
--muted-foreground: oklch(0.503 0.023 114.17);
--popover: oklch(0.989 0.005 113.393);
--popover-foreground: oklch(0.102 0.013 114.164);
--card: oklch(0.989 0.005 113.393);
--card-foreground: oklch(0.102 0.013 114.164);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.391 0.084 118.104);
--primary-foreground: oklch(0.865 0.179 117.789);
--secondary: oklch(0.907 0.017 113.662);
--secondary-foreground: oklch(0.415 0.038 115.015);
--accent: oklch(0.863 0.039 114.156);
--accent-foreground: oklch(0.337 0.039 115.497);
--destructive: oklch(0.532 0.166 37.039);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.391 0.084 118.104);
--chart-1: oklch(0.391 0.084 118.104);
--chart-2: oklch(0.907 0.017 113.662);
--chart-3: oklch(0.863 0.039 114.156);
--chart-4: oklch(0.927 0.014 113.579);
--chart-5: oklch(0.396 0.086 118.245);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.129 0.017 114.205);
--foreground: oklch(0.994 0.001 113.333);
--muted: oklch(0.308 0.041 115.809);
--muted-foreground: oklch(0.726 0.021 113.856);
--popover: oklch(0.129 0.017 114.205);
--popover-foreground: oklch(0.994 0.001 113.333);
--card: oklch(0.129 0.017 114.205);
--card-foreground: oklch(0.994 0.001 113.333);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.391 0.084 118.104);
--primary-foreground: oklch(0.865 0.179 117.789);
--secondary: oklch(0.326 0.028 114.908);
--secondary-foreground: oklch(0.853 0.028 113.907);
--accent: oklch(0.402 0.044 115.386);
--accent-foreground: oklch(0.898 0.025 113.831);
--destructive: oklch(0.579 0.182 36.927);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.391 0.084 118.104);
--chart-1: oklch(0.391 0.084 118.104);
--chart-2: oklch(0.326 0.028 114.908);
--chart-3: oklch(0.402 0.044 115.386);
--chart-4: oklch(0.36 0.032 114.956);
--chart-5: oklch(0.396 0.086 118.245);
}