Blushing is a shadcn/ui theme built around a muted deep violet primary color (#372f4c) with muted deep purple accents (#462f4c). The light mode uses a neutral background (#f9f8fc). Dark mode keeps the muted deep violet primary (#372f4c) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f9f8fcghostwhite | #000000black |
| Foreground | #090415black | #ffffffwhite |
| Card | #f6f4fbghostwhite | #030303black |
| Card foreground | #070311black | #ffffffwhite |
| Popover | #f6f4fbghostwhite | #030303black |
| Popover foreground | #070311black | #ffffffwhite |
| Primary | #372f4cdarkslategray | #372f4cdarkslategray |
| Primary foreground | #d2cce0lightgrey | #d2cce0lightgrey |
| Secondary | #2f344cdarkslategray | #2f344cdarkslategray |
| Secondary foreground | #ccd0e0lightgrey | #ccd0e0lightgrey |
| Muted | #e9e9edlavender | #121316black |
| Muted foreground | #51535ddimgray | #a2a5aedarkgray |
| Accent | #462f4cdarkslategray | #462f4cdarkslategray |
| Accent foreground | #dccce0thistle | #dccce0thistle |
| Destructive | #881801darkred | #e32802orangered |
| Destructive foreground | #fec8bdpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #372f4cdarkslategray | #372f4cdarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.04:1 | AAA |
| Text on card | 18.66:1 | AAA |
| Primary button | 8.06:1 | AAA |
| Secondary button | 7.94:1 | AAA |
| Muted text | 6.32:1 | AA |
| Accent | 7.80:1 | AAA |
| Destructive | 6.51:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 8.06:1 | AAA |
| Secondary button | 7.94:1 | AAA |
| Muted text | 7.53:1 | AAA |
| Accent | 7.80:1 | AAA |
| Destructive | 4.59:1 | AA |
Paste this into your globals.css to use Blushing in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.98 0.006 299.929);
--foreground: oklch(0.131 0.041 296.918);
--muted: oklch(0.935 0.004 274.976);
--muted-foreground: oklch(0.444 0.016 274.56);
--popover: oklch(0.97 0.01 299.872);
--popover-foreground: oklch(0.121 0.036 298.582);
--card: oklch(0.97 0.01 299.872);
--card-foreground: oklch(0.121 0.036 298.582);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.326 0.052 297.225);
--primary-foreground: oklch(0.857 0.028 299.497);
--secondary: oklch(0.332 0.042 273.099);
--secondary-foreground: oklch(0.86 0.022 274.708);
--accent: oklch(0.343 0.058 319.447);
--accent-foreground: oklch(0.865 0.032 319.454);
--destructive: oklch(0.407 0.15 32.675);
--destructive-foreground: oklch(0.878 0.064 31.367);
--ring: oklch(0.326 0.052 297.225);
--chart-1: oklch(0.326 0.052 297.225);
--chart-2: oklch(0.332 0.042 273.099);
--chart-3: oklch(0.343 0.058 319.447);
--chart-4: oklch(0.358 0.047 273.046);
--chart-5: oklch(0.323 0.059 296.798);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.188 0.007 274.568);
--muted-foreground: oklch(0.722 0.014 274.786);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.326 0.052 297.225);
--primary-foreground: oklch(0.857 0.028 299.497);
--secondary: oklch(0.332 0.042 273.099);
--secondary-foreground: oklch(0.86 0.022 274.708);
--accent: oklch(0.343 0.058 319.447);
--accent-foreground: oklch(0.865 0.032 319.454);
--destructive: oklch(0.59 0.223 31.849);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.326 0.052 297.225);
--chart-1: oklch(0.326 0.052 297.225);
--chart-2: oklch(0.332 0.042 273.099);
--chart-3: oklch(0.343 0.058 319.447);
--chart-4: oklch(0.358 0.047 273.046);
--chart-5: oklch(0.323 0.059 296.798);
}