Boutique is a shadcn/ui theme built around a vivid deep violet primary color (#120118) with neutral gray accents (#d5d1d6). The light mode uses a neutral background (#fdfbfd). Dark mode keeps the vivid deep violet primary (#120118) on a neutral background (#030204).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbfdsnow | #030204black |
| Foreground | #0a020dblack | #f8f6f9whitesmoke |
| Card | #fbf8fcghostwhite | #060307black |
| Card foreground | #070109black | #faf9fbghostwhite |
| Popover | #fdfbfdsnow | #030204black |
| Popover foreground | #0a020dblack | #f8f6f9whitesmoke |
| Primary | #120118black | #120118black |
| Primary foreground | #e9b7fbplum | #e9b7fbplum |
| Secondary | #d5d1d6lightgrey | #212121black |
| Secondary foreground | #3c383edarkslategray | #bab9bbsilver |
| Muted | #efe9f1lavender | #140e16black |
| Muted foreground | #605b62dimgray | #a29da4darkgray |
| Accent | #d5d1d6lightgrey | #212121black |
| Accent foreground | #3c383edarkslategray | #bab9bbsilver |
| Destructive | #881202darkred | #fc4d36tomato |
| Destructive foreground | #fec5bepink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #120118black | #120118black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.90:1 | AAA |
| Text on card | 19.57:1 | AAA |
| Primary button | 12.08:1 | AAA |
| Secondary button | 7.63:1 | AAA |
| Muted text | 5.55:1 | AA |
| Accent | 7.63:1 | AAA |
| Destructive | 6.55:1 | AA |
| Text on background | 19.30:1 | AAA |
| Text on card | 19.53:1 | AAA |
| Primary button | 12.08:1 | AAA |
| Secondary button | 8.24:1 | AAA |
| Muted text | 7.16:1 | AAA |
| Accent | 8.24:1 | AAA |
| Destructive | 3.35:1 | AA Large |
Paste this into your globals.css to use Boutique in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 317.182);
--foreground: oklch(0.116 0.038 319.184);
--muted: oklch(0.941 0.013 317.159);
--muted-foreground: oklch(0.477 0.014 317.124);
--popover: oklch(0.991 0.003 317.182);
--popover-foreground: oklch(0.116 0.038 319.184);
--card: oklch(0.982 0.006 317.175);
--card-foreground: oklch(0.101 0.032 319.868);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.139 0.058 317.44);
--primary-foreground: oklch(0.845 0.107 316.89);
--secondary: oklch(0.866 0.007 317.171);
--secondary-foreground: oklch(0.346 0.012 317.113);
--accent: oklch(0.866 0.007 317.171);
--accent-foreground: oklch(0.346 0.012 317.113);
--destructive: oklch(0.401 0.153 31.216);
--destructive-foreground: oklch(0.873 0.066 27.132);
--ring: oklch(0.139 0.058 317.44);
--chart-1: oklch(0.139 0.058 317.44);
--chart-2: oklch(0.866 0.007 317.171);
--chart-3: oklch(0.866 0.007 317.171);
--chart-4: oklch(0.89 0.006 317.175);
--chart-5: oklch(0.138 0.061 317.48);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.086 0.013 318.565);
--foreground: oklch(0.975 0.005 317.177);
--muted: oklch(0.174 0.019 316.933);
--muted-foreground: oklch(0.703 0.013 317.149);
--popover: oklch(0.086 0.013 318.565);
--popover-foreground: oklch(0.975 0.005 317.177);
--card: oklch(0.108 0.017 318.565);
--card-foreground: oklch(0.983 0.003 317.181);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.139 0.058 317.44);
--primary-foreground: oklch(0.845 0.107 316.89);
--secondary: oklch(0.248 0.001 317.176);
--secondary-foreground: oklch(0.788 0.002 317.183);
--accent: oklch(0.248 0.001 317.176);
--accent-foreground: oklch(0.788 0.002 317.183);
--destructive: oklch(0.665 0.215 30.825);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.139 0.058 317.44);
--chart-1: oklch(0.139 0.058 317.44);
--chart-2: oklch(0.248 0.001 317.176);
--chart-3: oklch(0.248 0.001 317.176);
--chart-4: oklch(0.279 0.002 317.175);
--chart-5: oklch(0.138 0.061 317.48);
}