Blushing is a shadcn/ui theme built around a neutral gray primary color (#c6c3c6) with neutral gray accents (#c3c6c6). The light mode uses a neutral background (#fdfcfd). Dark mode keeps the neutral gray primary (#c6c3c6) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfdwhite | #000000black |
| Foreground | #040104black | #fbf9fbsnow |
| Card | #fbf8fcghostwhite | #030303black |
| Card foreground | #000000black | #fdfcfdwhite |
| Popover | #fbf8fcghostwhite | #030303black |
| Popover foreground | #000000black | #fdfcfdwhite |
| Primary | #c6c3c6silver | #c6c3c6silver |
| Primary foreground | #2c2a2ddarkslategray | #2c2a2ddarkslategray |
| Secondary | #c6c6c3silver | #c6c6c3silver |
| Secondary foreground | #2d2c2adarkslategray | #2d2c2adarkslategray |
| Muted | #f4f3e6linen | #19170bblack |
| Muted foreground | #4b4b49darkslategray | #b6b6b4silver |
| Accent | #c3c6c6silver | #c3c6c6silver |
| Accent foreground | #2a2d2cdarkslategray | #2a2d2cdarkslategray |
| Destructive | #9c3611saddlebrown | #e75a27chocolate |
| Destructive foreground | #fceae3linen | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c6c3c6silver | #c6c3c6silver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.24:1 | AAA |
| Text on card | 19.96:1 | AAA |
| Primary button | 8.11:1 | AAA |
| Secondary button | 8.13:1 | AAA |
| Muted text | 7.81:1 | AAA |
| Accent | 8.08:1 | AAA |
| Destructive | 6.09:1 | AA |
| Text on background | 20.04:1 | AAA |
| Text on card | 20.20:1 | AAA |
| Primary button | 8.11:1 | AAA |
| Secondary button | 8.13:1 | AAA |
| Muted text | 8.83:1 | AAA |
| Accent | 8.08:1 | AAA |
| Destructive | 3.55:1 | AA Large |
Paste this into your globals.css to use Blushing in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 322.638);
--foreground: oklch(0.083 0.027 324.996);
--muted: oklch(0.961 0.016 101.551);
--muted-foreground: oklch(0.411 0.002 101.372);
--popover: oklch(0.983 0.006 322.65);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.983 0.006 322.65);
--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.819 0.006 322.656);
--primary-foreground: oklch(0.289 0.006 322.706);
--secondary: oklch(0.825 0.004 101.371);
--secondary-foreground: oklch(0.294 0.004 101.51);
--accent: oklch(0.824 0.004 189.969);
--accent-foreground: oklch(0.293 0.004 189.786);
--destructive: oklch(0.476 0.143 38.21);
--destructive-foreground: oklch(0.95 0.022 41.144);
--ring: oklch(0.819 0.006 322.656);
--chart-1: oklch(0.819 0.006 322.656);
--chart-2: oklch(0.825 0.004 101.371);
--chart-3: oklch(0.824 0.004 189.969);
--chart-4: oklch(0.848 0.004 101.358);
--chart-5: oklch(0.818 0.012 322.685);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.983 0.004 322.645);
--muted: oklch(0.203 0.022 102.726);
--muted-foreground: oklch(0.775 0.002 101.325);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.992 0.002 322.636);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.992 0.002 322.636);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.819 0.006 322.656);
--primary-foreground: oklch(0.289 0.006 322.706);
--secondary: oklch(0.825 0.004 101.371);
--secondary-foreground: oklch(0.294 0.004 101.51);
--accent: oklch(0.824 0.004 189.969);
--accent-foreground: oklch(0.293 0.004 189.786);
--destructive: oklch(0.646 0.185 38.753);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.819 0.006 322.656);
--chart-1: oklch(0.819 0.006 322.656);
--chart-2: oklch(0.825 0.004 101.371);
--chart-3: oklch(0.824 0.004 189.969);
--chart-4: oklch(0.848 0.004 101.358);
--chart-5: oklch(0.818 0.012 322.685);
}