Blushing is a shadcn/ui theme built around a vivid green primary color (#429310) with vivid violet accents (#611093). The light mode uses a neutral background (#fcfefb). Dark mode keeps the vivid green primary (#429310) on a green-tinted background (#070b04).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfefbwhite | #070b04black |
| Foreground | #000000black | #f7f9f6whitesmoke |
| Card | #fcfefbwhite | #070b04black |
| Card foreground | #000000black | #f7f9f6whitesmoke |
| Popover | #fcfefbwhite | #070b04black |
| Popover foreground | #000000black | #f7f9f6whitesmoke |
| Primary | #429310forestgreen | #429310forestgreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #611093indigo | #611093indigo |
| Secondary foreground | #eedafblavender | #eedafblavender |
| Muted | #dfd8e4gainsboro | #231b27black |
| Muted foreground | #4f4d51darkslategray | #b0aeb2darkgray |
| Accent | #611093indigo | #611093indigo |
| Accent foreground | #eedafblavender | #eedafblavender |
| Destructive | #6e2f0csaddlebrown | #e76723chocolate |
| Destructive foreground | #f7ccb6peachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #429310forestgreen | #429310forestgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.71:1 | AAA |
| Text on card | 20.71:1 | AAA |
| Primary button | 3.88:1 | AA Large |
| Secondary button | 8.01:1 | AAA |
| Muted text | 5.98:1 | AA |
| Accent | 8.01:1 | AAA |
| Destructive | 6.89:1 | AA |
| Text on background | 18.73:1 | AAA |
| Text on card | 18.73:1 | AAA |
| Primary button | 3.88:1 | AA Large |
| Secondary button | 8.01:1 | AAA |
| Muted text | 7.60:1 | AAA |
| Accent | 8.01:1 | AAA |
| Destructive | 6.35:1 | AA |
Paste this into your globals.css to use Blushing in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.005 133.018);
--foreground: oklch(0 0 0);
--muted: oklch(0.891 0.019 312.841);
--muted-foreground: oklch(0.425 0.006 312.893);
--popover: oklch(0.995 0.005 133.018);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.995 0.005 133.018);
--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.589 0.173 137.32);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.394 0.19 306.635);
--secondary-foreground: oklch(0.915 0.049 312.625);
--accent: oklch(0.394 0.19 306.635);
--accent-foreground: oklch(0.915 0.049 312.625);
--destructive: oklch(0.387 0.101 44.785);
--destructive-foreground: oklch(0.877 0.057 49.888);
--ring: oklch(0.589 0.173 137.32);
--chart-1: oklch(0.589 0.173 137.32);
--chart-2: oklch(0.394 0.19 306.635);
--chart-3: oklch(0.394 0.19 306.635);
--chart-4: oklch(0.42 0.203 306.506);
--chart-5: oklch(0.595 0.177 137.507);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.142 0.019 131.833);
--foreground: oklch(0.98 0.005 133.022);
--muted: oklch(0.236 0.026 312.229);
--muted-foreground: oklch(0.755 0.005 312.94);
--popover: oklch(0.142 0.019 131.833);
--popover-foreground: oklch(0.98 0.005 133.022);
--card: oklch(0.142 0.019 131.833);
--card-foreground: oklch(0.98 0.005 133.022);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.589 0.173 137.32);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.394 0.19 306.635);
--secondary-foreground: oklch(0.915 0.049 312.625);
--accent: oklch(0.394 0.19 306.635);
--accent-foreground: oklch(0.915 0.049 312.625);
--destructive: oklch(0.662 0.175 44.481);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.589 0.173 137.32);
--chart-1: oklch(0.589 0.173 137.32);
--chart-2: oklch(0.394 0.19 306.635);
--chart-3: oklch(0.394 0.19 306.635);
--chart-4: oklch(0.42 0.203 306.506);
--chart-5: oklch(0.595 0.177 137.507);
}