Sponsorship is a shadcn/ui theme built around a green primary color (#69c530) with muted light green accents (#cfd8ca). The light mode uses a neutral background (#f9fcf8). Dark mode keeps the green primary (#69c530) on a green-tinted background (#090d07).
| Token | Light | Dark |
|---|---|---|
| Background | #f9fcf8mintcream | #090d07black |
| Foreground | #020401black | #fafbf9snow |
| Card | #f9fcf8mintcream | #090d07black |
| Card foreground | #020401black | #fafbf9snow |
| Popover | #f9fcf8mintcream | #090d07black |
| Popover foreground | #020401black | #fafbf9snow |
| Primary | #69c530yellowgreen | #69c530yellowgreen |
| Primary foreground | #112108black | #112108black |
| Secondary | #eaece9linen | #1d2419black |
| Secondary foreground | #50574cdarkslategray | #b4c5aasilver |
| Muted | #e0e3degainsboro | #1e211cblack |
| Muted foreground | #464c42darkslategray | #b6bdb3silver |
| Accent | #cfd8calightgrey | #304125darkslategray |
| Accent foreground | #364130darkslategray | #c9dabelightgrey |
| Destructive | #771103maroon | #f9391forangered |
| Destructive foreground | #fdb8aflightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #69c530yellowgreen | #69c530yellowgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.92:1 | AAA |
| Text on card | 19.92:1 | AAA |
| Primary button | 7.73:1 | AAA |
| Secondary button | 6.29:1 | AA |
| Muted text | 6.83:1 | AA |
| Accent | 7.33:1 | AAA |
| Destructive | 6.77:1 | AA |
| Text on background | 18.83:1 | AAA |
| Text on card | 18.83:1 | AAA |
| Primary button | 7.73:1 | AAA |
| Secondary button | 8.69:1 | AAA |
| Muted text | 8.44:1 | AAA |
| Accent | 7.49:1 | AAA |
| Destructive | 3.72:1 | AA Large |
Paste this into your globals.css to use Sponsorship in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.006 133.03);
--foreground: oklch(0.102 0.022 131.026);
--muted: oklch(0.912 0.008 133.047);
--muted-foreground: oklch(0.409 0.018 133.298);
--popover: oklch(0.988 0.006 133.03);
--popover-foreground: oklch(0.102 0.022 131.026);
--card: oklch(0.988 0.006 133.03);
--card-foreground: oklch(0.102 0.022 131.026);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.738 0.2 136.331);
--primary-foreground: oklch(0.226 0.049 134.972);
--secondary: oklch(0.941 0.004 133.016);
--secondary-foreground: oklch(0.448 0.02 133.305);
--accent: oklch(0.872 0.021 133.151);
--accent-foreground: oklch(0.359 0.031 133.629);
--destructive: oklch(0.368 0.138 31.325);
--destructive-foreground: oklch(0.845 0.081 27.374);
--ring: oklch(0.738 0.2 136.331);
--chart-1: oklch(0.738 0.2 136.331);
--chart-2: oklch(0.941 0.004 133.016);
--chart-3: oklch(0.872 0.021 133.151);
--chart-4: oklch(0.963 0.003 133.004);
--chart-5: oklch(0.747 0.206 136.526);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.154 0.015 132.794);
--foreground: oklch(0.986 0.003 133.006);
--muted: oklch(0.244 0.011 133.316);
--muted-foreground: oklch(0.789 0.015 133.121);
--popover: oklch(0.154 0.015 132.794);
--popover-foreground: oklch(0.986 0.003 133.006);
--card: oklch(0.154 0.015 132.794);
--card-foreground: oklch(0.986 0.003 133.006);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.738 0.2 136.331);
--primary-foreground: oklch(0.226 0.049 134.972);
--secondary: oklch(0.251 0.024 133.685);
--secondary-foreground: oklch(0.804 0.042 133.353);
--accent: oklch(0.352 0.051 134.139);
--accent-foreground: oklch(0.867 0.041 133.323);
--destructive: oklch(0.641 0.23 31.039);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.738 0.2 136.331);
--chart-1: oklch(0.738 0.2 136.331);
--chart-2: oklch(0.251 0.024 133.685);
--chart-3: oklch(0.352 0.051 134.139);
--chart-4: oklch(0.286 0.029 133.732);
--chart-5: oklch(0.747 0.206 136.526);
}