Blushing is a shadcn/ui theme built around a teal primary color (#2a7a66) with yellow accents (#7a662a). The light mode uses a neutral background (#f8fcfb). Dark mode keeps the teal primary (#2a7a66) on a teal-tinted background (#030c0a).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcfbmintcream | #030c0ablack |
| Foreground | #020806black | #f9fbfbghostwhite |
| Card | #f4fbf9mintcream | #04100dblack |
| Card foreground | #010403black | #fcfdfdwhite |
| Popover | #f8fcfbmintcream | #030c0ablack |
| Popover foreground | #020806black | #f9fbfbghostwhite |
| Primary | #2a7a66seagreen | #2a7a66seagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #662a7arebeccapurple | #662a7arebeccapurple |
| Secondary foreground | #f0e1f5lavender | #f0e1f5lavender |
| Muted | #e0d9e2gainsboro | #231d26black |
| Muted foreground | #56495adimgray | #b1a5b6darkgray |
| Accent | #7a662adarkolivegreen | #7a662adarkolivegreen |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #9c1c02darkred | #fc4a27orangered |
| Destructive foreground | #fed9d2bisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #2a7a66seagreen | #2a7a66seagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.54:1 | AAA |
| Text on card | 19.60:1 | AAA |
| Primary button | 5.18:1 | AA |
| Secondary button | 7.75:1 | AAA |
| Muted text | 6.09:1 | AA |
| Accent | 5.61:1 | AA |
| Destructive | 6.24:1 | AA |
| Text on background | 19.05:1 | AAA |
| Text on card | 18.98:1 | AAA |
| Primary button | 5.18:1 | AA |
| Secondary button | 7.75:1 | AAA |
| Muted text | 7.01:1 | AAA |
| Accent | 5.61:1 | AA |
| Destructive | 3.41:1 | AA Large |
Paste this into your globals.css to use Blushing in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.005 179.713);
--foreground: oklch(0.124 0.013 179.911);
--muted: oklch(0.894 0.015 317.736);
--muted-foreground: oklch(0.425 0.031 317.644);
--popover: oklch(0.988 0.005 179.713);
--popover-foreground: oklch(0.124 0.013 179.911);
--card: oklch(0.982 0.008 179.634);
--card-foreground: oklch(0.098 0.011 179.911);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.524 0.084 173.283);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.405 0.139 316.694);
--secondary-foreground: oklch(0.926 0.031 317.708);
--accent: oklch(0.516 0.083 90.758);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.448 0.166 32.413);
--destructive-foreground: oklch(0.915 0.043 31.206);
--ring: oklch(0.524 0.084 173.283);
--chart-1: oklch(0.524 0.084 173.283);
--chart-2: oklch(0.405 0.139 316.694);
--chart-3: oklch(0.516 0.083 90.758);
--chart-4: oklch(0.431 0.149 316.668);
--chart-5: oklch(0.53 0.087 172.9);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.143 0.017 179.351);
--foreground: oklch(0.987 0.003 179.778);
--muted: oklch(0.241 0.02 317.624);
--muted-foreground: oklch(0.738 0.027 317.704);
--popover: oklch(0.143 0.017 179.351);
--popover-foreground: oklch(0.987 0.003 179.778);
--card: oklch(0.16 0.019 177.401);
--card-foreground: oklch(0.993 0.002 179.822);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.524 0.084 173.283);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.405 0.139 316.694);
--secondary-foreground: oklch(0.926 0.031 317.708);
--accent: oklch(0.516 0.083 90.758);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.661 0.219 33.065);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.524 0.084 173.283);
--chart-1: oklch(0.524 0.084 173.283);
--chart-2: oklch(0.405 0.139 316.694);
--chart-3: oklch(0.516 0.083 90.758);
--chart-4: oklch(0.431 0.149 316.668);
--chart-5: oklch(0.53 0.087 172.9);
}