Boutique is a shadcn/ui theme built around a light blue primary color (#e4e9f7) with light indigo accents (#e7e4f7). The light mode uses a neutral background (#fcfcfd). Dark mode keeps the light blue primary (#e4e9f7) on a blue-tinted background (#05070a).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfcfdwhite | #05070ablack |
| Foreground | #020712black | #ffffffwhite |
| Card | #f8f9fcghostwhite | #07090eblack |
| Card foreground | #02050eblack | #ffffffwhite |
| Popover | #f8f9fcghostwhite | #07090eblack |
| Popover foreground | #02050eblack | #ffffffwhite |
| Primary | #e4e9f7lavender | #e4e9f7lavender |
| Primary foreground | #274282darkslateblue | #274282darkslateblue |
| Secondary | #e4f3f7lavender | #e4f3f7lavender |
| Secondary foreground | #0f2c33darkslategray | #0f2c33darkslategray |
| Muted | #e4eff1lavender | #0e181bblack |
| Muted foreground | #4d5556darkslategray | #a9b0b2darkgray |
| Accent | #e7e4f7lavender | #e7e4f7lavender |
| Accent foreground | #392782darkslateblue | #392782darkslateblue |
| Destructive | #bd240ffirebrick | #ed3d26orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e4e9f7lavender | #e4e9f7lavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.65:1 | AAA |
| Text on card | 19.37:1 | AAA |
| Primary button | 7.91:1 | AAA |
| Secondary button | 12.90:1 | AAA |
| Muted text | 6.49:1 | AA |
| Accent | 9.40:1 | AAA |
| Destructive | 6.15:1 | AA |
| Text on background | 20.19:1 | AAA |
| Text on card | 19.94:1 | AAA |
| Primary button | 7.91:1 | AAA |
| Secondary button | 12.90:1 | AAA |
| Muted text | 8.17:1 | AAA |
| Accent | 9.40:1 | AAA |
| Destructive | 3.95: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.002 267.409);
--foreground: oklch(0.128 0.029 257.491);
--muted: oklch(0.944 0.012 214.353);
--muted-foreground: oklch(0.442 0.01 214.404);
--popover: oklch(0.982 0.004 267.399);
--popover-foreground: oklch(0.116 0.025 255.75);
--card: oklch(0.982 0.004 267.399);
--card-foreground: oklch(0.116 0.025 255.75);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.934 0.019 267.29);
--primary-foreground: oklch(0.394 0.112 264.4);
--secondary: oklch(0.954 0.017 214.376);
--secondary-foreground: oklch(0.274 0.037 216.635);
--accent: oklch(0.926 0.026 295.055);
--accent-foreground: oklch(0.354 0.144 285.512);
--destructive: oklch(0.516 0.191 30.993);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.934 0.019 267.29);
--chart-1: oklch(0.934 0.019 267.29);
--chart-2: oklch(0.954 0.017 214.376);
--chart-3: oklch(0.926 0.026 295.055);
--chart-4: oklch(0.973 0.01 214.345);
--chart-5: oklch(0.934 0.02 267.281);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.126 0.01 263.073);
--foreground: oklch(1 0 180);
--muted: oklch(0.202 0.016 214.994);
--muted-foreground: oklch(0.753 0.009 214.353);
--popover: oklch(0.139 0.012 264.306);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.139 0.012 264.306);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.934 0.019 267.29);
--primary-foreground: oklch(0.394 0.112 264.4);
--secondary: oklch(0.954 0.017 214.376);
--secondary-foreground: oklch(0.274 0.037 216.635);
--accent: oklch(0.926 0.026 295.055);
--accent-foreground: oklch(0.354 0.144 285.512);
--destructive: oklch(0.625 0.216 31.01);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.934 0.019 267.29);
--chart-1: oklch(0.934 0.019 267.29);
--chart-2: oklch(0.954 0.017 214.376);
--chart-3: oklch(0.926 0.026 295.055);
--chart-4: oklch(0.973 0.01 214.345);
--chart-5: oklch(0.934 0.02 267.281);
}