Blond is a shadcn/ui theme built around a vivid yellow primary color (#faf25c) with vivid purple accents (#f25cfa). The light mode uses a neutral background (#fcfcf8). Dark mode keeps the vivid yellow primary (#faf25c) on a neutral background (#030302).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfcf8snow | #030302black |
| Foreground | #151405black | #f8f8f6whitesmoke |
| Card | #fcfcf8snow | #030302black |
| Card foreground | #151405black | #f8f8f6whitesmoke |
| Popover | #fcfcf8snow | #030302black |
| Popover foreground | #151405black | #f8f8f6whitesmoke |
| Primary | #faf25ckhaki | #faf25ckhaki |
| Primary foreground | #232101black | #232101black |
| Secondary | #5cfaf2aquamarine | #5cfaf2aquamarine |
| Secondary foreground | #012321black | #012321black |
| Muted | #e2eeeelavender | #111d1dblack |
| Muted foreground | #586564dimgray | #9aa7a7darkgray |
| Accent | #f25cfaviolet | #f25cfaviolet |
| Accent foreground | #210123black | #210123black |
| Destructive | #5d2109maroon | #e04e15chocolate |
| Destructive foreground | #f6baa2lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #faf25ckhaki | #faf25ckhaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 17.96:1 | AAA |
| Text on card | 17.96:1 | AAA |
| Primary button | 13.89:1 | AAA |
| Secondary button | 12.98:1 | AAA |
| Muted text | 5.12:1 | AA |
| Accent | 7.02:1 | AAA |
| Destructive | 7.39:1 | AAA |
| Text on background | 19.36:1 | AAA |
| Text on card | 19.36:1 | AAA |
| Primary button | 13.89:1 | AAA |
| Secondary button | 12.98:1 | AAA |
| Muted text | 6.93:1 | AA |
| Accent | 7.02:1 | AAA |
| Destructive | 3.97:1 | AA Large |
Paste this into your globals.css to use Blond in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.005 104.058);
--foreground: oklch(0.188 0.029 106.359);
--muted: oklch(0.941 0.014 193.32);
--muted-foreground: oklch(0.495 0.016 192.962);
--popover: oklch(0.989 0.005 104.058);
--popover-foreground: oklch(0.188 0.029 106.359);
--card: oklch(0.989 0.005 104.058);
--card-foreground: oklch(0.188 0.029 106.359);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.941 0.167 106.301);
--primary-foreground: oklch(0.242 0.05 106.727);
--secondary: oklch(0.901 0.131 190.353);
--secondary-foreground: oklch(0.23 0.039 190.01);
--accent: oklch(0.727 0.254 325.732);
--accent-foreground: oklch(0.177 0.078 326.178);
--destructive: oklch(0.335 0.095 39.794);
--destructive-foreground: oklch(0.837 0.078 42.546);
--ring: oklch(0.941 0.167 106.301);
--chart-1: oklch(0.941 0.167 106.301);
--chart-2: oklch(0.901 0.131 190.353);
--chart-3: oklch(0.727 0.254 325.732);
--chart-4: oklch(0.906 0.124 190.648);
--chart-5: oklch(0.947 0.171 106.313);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.099 0.009 105.84);
--foreground: oklch(0.98 0.003 104.019);
--muted: oklch(0.22 0.018 191.967);
--muted-foreground: oklch(0.719 0.015 193.197);
--popover: oklch(0.099 0.009 105.84);
--popover-foreground: oklch(0.98 0.003 104.019);
--card: oklch(0.099 0.009 105.84);
--card-foreground: oklch(0.98 0.003 104.019);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.941 0.167 106.301);
--primary-foreground: oklch(0.242 0.05 106.727);
--secondary: oklch(0.901 0.131 190.353);
--secondary-foreground: oklch(0.23 0.039 190.01);
--accent: oklch(0.727 0.254 325.732);
--accent-foreground: oklch(0.177 0.078 326.178);
--destructive: oklch(0.619 0.191 38.451);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.941 0.167 106.301);
--chart-1: oklch(0.941 0.167 106.301);
--chart-2: oklch(0.901 0.131 190.353);
--chart-3: oklch(0.727 0.254 325.732);
--chart-4: oklch(0.906 0.124 190.648);
--chart-5: oklch(0.947 0.171 106.313);
}