Yielding Button Blue is a shadcn/ui theme built around a vivid cyan primary color (#05a2eb) with vivid blue accents (#052feb). The light mode uses a neutral background (#f7fbfd). Dark mode keeps the vivid cyan primary (#05a2eb) on a cyan-tinted background (#060c0f).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fbfdghostwhite | #060c0fblack |
| Foreground | #000000black | #ffffffwhite |
| Card | #f7fbfdghostwhite | #060c0fblack |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f7fbfdghostwhite | #060c0fblack |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #05a2ebdeepskyblue | #05a2ebdeepskyblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #05ebc1darkturquoise | #05ebc1darkturquoise |
| Secondary foreground | #01231dblack | #01231dblack |
| Muted | #f1f4f3whitesmoke | #0b0e0eblack |
| Muted foreground | #4b635edimgray | #9cb4b0darkgray |
| Accent | #052febblue | #052febblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #9a2a04saddlebrown | #f94a10orangered |
| Destructive foreground | #feddd2blanchedalmond | #ffffffwhite |
| Border | #e8eceelavender | #181e20black |
| Input | #e8eceelavender | #181e20black |
| Ring | #05a2ebdeepskyblue | #05a2ebdeepskyblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.16:1 | AAA |
| Text on card | 20.16:1 | AAA |
| Primary button | 2.84:1 | Fail |
| Secondary button | 10.83:1 | AAA |
| Muted text | 5.82:1 | AA |
| Accent | 8.04:1 | AAA |
| Destructive | 6.10:1 | AA |
| Text on background | 19.69:1 | AAA |
| Text on card | 19.69:1 | AAA |
| Primary button | 2.84:1 | Fail |
| Secondary button | 10.83:1 | AAA |
| Muted text | 8.82:1 | AAA |
| Accent | 8.04:1 | AAA |
| Destructive | 3.48:1 | AA Large |
Paste this into your globals.css to use Yielding Button Blue in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.005 226.919);
--foreground: oklch(0 0 0);
--muted: oklch(0.964 0.003 184.235);
--muted-foreground: oklch(0.478 0.03 182.529);
--popover: oklch(0.986 0.005 226.919);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.986 0.005 226.919);
--card-foreground: oklch(0 0 0);
--border: oklch(0.94 0.005 226.924);
--input: oklch(0.94 0.005 226.924);
--primary: oklch(0.678 0.153 239.322);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.838 0.16 173.369);
--secondary-foreground: oklch(0.23 0.041 177.882);
--accent: oklch(0.457 0.272 264.429);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.457 0.154 35.871);
--destructive-foreground: oklch(0.922 0.039 39.305);
--ring: oklch(0.678 0.153 239.322);
--chart-1: oklch(0.678 0.153 239.322);
--chart-2: oklch(0.838 0.16 173.369);
--chart-3: oklch(0.457 0.272 264.429);
--chart-4: oklch(0.878 0.168 173.309);
--chart-5: oklch(0.683 0.156 239.825);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.148 0.013 225.634);
--foreground: oklch(1 0 180);
--muted: oklch(0.161 0.004 183.588);
--muted-foreground: oklch(0.752 0.027 183.307);
--popover: oklch(0.148 0.013 225.634);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.148 0.013 225.634);
--card-foreground: oklch(1 0 180);
--border: oklch(0.229 0.01 227.483);
--input: oklch(0.229 0.01 227.483);
--primary: oklch(0.678 0.153 239.322);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.838 0.16 173.369);
--secondary-foreground: oklch(0.23 0.041 177.882);
--accent: oklch(0.457 0.272 264.429);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.655 0.219 35.892);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.678 0.153 239.322);
--chart-1: oklch(0.678 0.153 239.322);
--chart-2: oklch(0.838 0.16 173.369);
--chart-3: oklch(0.457 0.272 264.429);
--chart-4: oklch(0.878 0.168 173.309);
--chart-5: oklch(0.683 0.156 239.825);
}