Blushing is a shadcn/ui theme built around a muted deep blue primary color (#343746) with muted deep green accents (#374634). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the muted deep blue primary (#343746) on a blue-tinted background (#06080e).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfewhite | #06080eblack |
| Foreground | #020308black | #f6f6f9whitesmoke |
| Card | #fbfcfewhite | #06080eblack |
| Card foreground | #020308black | #f6f6f9whitesmoke |
| Popover | #fbfcfewhite | #06080eblack |
| Popover foreground | #020308black | #f6f6f9whitesmoke |
| Primary | #343746darkslategray | #343746darkslategray |
| Primary foreground | #d0d2dclightgrey | #d0d2dclightgrey |
| Secondary | #463437darkslategray | #463437darkslategray |
| Secondary foreground | #dcd0d2lightgrey | #dcd0d2lightgrey |
| Muted | #e7dfe1gainsboro | #20181ablack |
| Muted foreground | #514d4edarkslategray | #b2aeafdarkgray |
| Accent | #374634darkslategray | #374634darkslategray |
| Accent foreground | #d2dcd0lightgrey | #d2dcd0lightgrey |
| Destructive | #d45511chocolate | #ed651dchocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #343746darkslategray | #343746darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.01:1 | AAA |
| Text on card | 20.01:1 | AAA |
| Primary button | 7.81:1 | AAA |
| Secondary button | 7.73:1 | AAA |
| Muted text | 6.36:1 | AA |
| Accent | 7.09:1 | AAA |
| Destructive | 4.09:1 | AA Large |
| Text on background | 18.58:1 | AAA |
| Text on card | 18.58:1 | AAA |
| Primary button | 7.81:1 | AAA |
| Secondary button | 7.73:1 | AAA |
| Muted text | 7.91:1 | AAA |
| Accent | 7.09:1 | AAA |
| Destructive | 6.48:1 | AA |
Paste this into your globals.css to use Blushing in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 277.217);
--foreground: oklch(0.098 0.02 268.961);
--muted: oklch(0.911 0.008 5.679);
--muted-foreground: oklch(0.425 0.004 5.708);
--popover: oklch(0.99 0.003 277.217);
--popover-foreground: oklch(0.098 0.02 268.961);
--card: oklch(0.99 0.003 277.217);
--card-foreground: oklch(0.098 0.02 268.961);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.341 0.027 276.021);
--primary-foreground: oklch(0.866 0.014 277.03);
--secondary: oklch(0.347 0.027 7.421);
--secondary-foreground: oklch(0.868 0.014 5.859);
--accent: oklch(0.376 0.036 140.392);
--accent-foreground: oklch(0.884 0.02 140.497);
--destructive: oklch(0.609 0.175 42.749);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.341 0.027 276.021);
--chart-1: oklch(0.341 0.027 276.021);
--chart-2: oklch(0.347 0.027 7.421);
--chart-3: oklch(0.376 0.036 140.392);
--chart-4: oklch(0.374 0.03 7.466);
--chart-5: oklch(0.337 0.033 275.714);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.134 0.015 273.767);
--foreground: oklch(0.975 0.003 277.214);
--muted: oklch(0.22 0.012 6.821);
--muted-foreground: oklch(0.755 0.004 5.575);
--popover: oklch(0.134 0.015 273.767);
--popover-foreground: oklch(0.975 0.003 277.214);
--card: oklch(0.134 0.015 273.767);
--card-foreground: oklch(0.975 0.003 277.214);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.341 0.027 276.021);
--primary-foreground: oklch(0.866 0.014 277.03);
--secondary: oklch(0.347 0.027 7.421);
--secondary-foreground: oklch(0.868 0.014 5.859);
--accent: oklch(0.376 0.036 140.392);
--accent-foreground: oklch(0.884 0.02 140.497);
--destructive: oklch(0.668 0.184 43.698);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.341 0.027 276.021);
--chart-1: oklch(0.341 0.027 276.021);
--chart-2: oklch(0.347 0.027 7.421);
--chart-3: oklch(0.376 0.036 140.392);
--chart-4: oklch(0.374 0.03 7.466);
--chart-5: oklch(0.337 0.033 275.714);
}