Abundance is a shadcn/ui theme built around a muted light yellow primary color (#dfddcd) with muted light blue accents (#cdcfdf). The light mode uses a neutral background (#fcfcf7). Dark mode keeps the muted light yellow primary (#dfddcd) on a yellow-tinted background (#100f04).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfcf7snow | #100f04black |
| Foreground | #000000black | #f8f8f7whitesmoke |
| Card | #fcfcf7snow | #100f04black |
| Card foreground | #000000black | #f8f8f7whitesmoke |
| Popover | #fcfcf7snow | #100f04black |
| Popover foreground | #000000black | #f8f8f7whitesmoke |
| Primary | #dfddcdgainsboro | #dfddcdgainsboro |
| Primary foreground | #4b4830darkolivegreen | #4b4830darkolivegreen |
| Secondary | #cdcfdflightgrey | #cdcfdflightgrey |
| Secondary foreground | #30334bdarkslategray | #30334bdarkslategray |
| Muted | #ebebeflavender | #101014black |
| Muted foreground | #414458darkslategray | #a7aabedarkgray |
| Accent | #cdcfdflightgrey | #cdcfdflightgrey |
| Accent foreground | #30334bdarkslategray | #30334bdarkslategray |
| Destructive | #6b140amaroon | #ec4432tomato |
| Destructive foreground | #f8b7b0lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #dfddcdgainsboro | #dfddcdgainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.39:1 | AAA |
| Text on card | 20.39:1 | AAA |
| Primary button | 6.77:1 | AA |
| Secondary button | 8.01:1 | AAA |
| Muted text | 8.07:1 | AAA |
| Accent | 8.01:1 | AAA |
| Destructive | 7.15:1 | AAA |
| Text on background | 18.12:1 | AAA |
| Text on card | 18.12:1 | AAA |
| Primary button | 6.77:1 | AA |
| Secondary button | 8.01:1 | AAA |
| Muted text | 8.26:1 | AAA |
| Accent | 8.01:1 | AAA |
| Destructive | 3.85:1 | AA Large |
Paste this into your globals.css to use Abundance in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.006 100.419);
--foreground: oklch(0 0 0);
--muted: oklch(0.942 0.006 280.239);
--muted-foreground: oklch(0.391 0.034 278.802);
--popover: oklch(0.99 0.006 100.419);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.99 0.006 100.419);
--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.895 0.021 100.687);
--primary-foreground: oklch(0.396 0.038 101.545);
--secondary: oklch(0.859 0.022 279.919);
--secondary-foreground: oklch(0.329 0.042 277.996);
--accent: oklch(0.859 0.022 279.919);
--accent-foreground: oklch(0.329 0.042 277.996);
--destructive: oklch(0.346 0.123 30.438);
--destructive-foreground: oklch(0.837 0.076 25.994);
--ring: oklch(0.895 0.021 100.687);
--chart-1: oklch(0.895 0.021 100.687);
--chart-2: oklch(0.859 0.022 279.919);
--chart-3: oklch(0.859 0.022 279.919);
--chart-4: oklch(0.886 0.018 280.012);
--chart-5: oklch(0.898 0.024 100.731);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.165 0.022 102.619);
--foreground: oklch(0.979 0.002 100.359);
--muted: oklch(0.175 0.008 279.525);
--muted-foreground: oklch(0.741 0.029 279.686);
--popover: oklch(0.165 0.022 102.619);
--popover-foreground: oklch(0.979 0.002 100.359);
--card: oklch(0.165 0.022 102.619);
--card-foreground: oklch(0.979 0.002 100.359);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.895 0.021 100.687);
--primary-foreground: oklch(0.396 0.038 101.545);
--secondary: oklch(0.859 0.022 279.919);
--secondary-foreground: oklch(0.329 0.042 277.996);
--accent: oklch(0.859 0.022 279.919);
--accent-foreground: oklch(0.329 0.042 277.996);
--destructive: oklch(0.63 0.207 30.126);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.895 0.021 100.687);
--chart-1: oklch(0.895 0.021 100.687);
--chart-2: oklch(0.859 0.022 279.919);
--chart-3: oklch(0.859 0.022 279.919);
--chart-4: oklch(0.886 0.018 280.012);
--chart-5: oklch(0.898 0.024 100.731);
}