Muscatel is a shadcn/ui theme built around a near-white primary color (#f6fcfd) with near-white accents (#fdf7f6). The light mode uses a neutral background (#ffffff). Dark mode keeps the near-white primary (#f6fcfd) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #000000black | #fcfdfdwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #000000black | #fcfdfdwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #000000black | #fcfdfdwhite |
| Primary | #f6fcfdmintcream | #f6fcfdmintcream |
| Primary foreground | #0e454edarkslategray | #0e454edarkslategray |
| Secondary | #fdf7f6snow | #fdf7f6snow |
| Secondary foreground | #a4301ebrown | #a4301ebrown |
| Muted | #eadedcgainsboro | #231715black |
| Muted foreground | #4d4c4cdarkslategray | #b3b2b2darkgray |
| Accent | #fdf7f6snow | #fdf7f6snow |
| Accent foreground | #a4301ebrown | #a4301ebrown |
| Destructive | #6b0e00maroon | #eb1f00red |
| Destructive foreground | #ffab9elightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f6fcfdmintcream | #f6fcfdmintcream |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 10.27:1 | AAA |
| Secondary button | 6.57:1 | AA |
| Muted text | 6.49:1 | AA |
| Accent | 6.57:1 | AA |
| Destructive | 6.84:1 | AA |
| Text on background | 20.60:1 | AAA |
| Text on card | 20.60:1 | AAA |
| Primary button | 10.27:1 | AAA |
| Secondary button | 6.57:1 | AA |
| Muted text | 8.24:1 | AAA |
| Accent | 6.57:1 | AA |
| Destructive | 4.45:1 | AA Large |
Paste this into your globals.css to use Muscatel in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.909 0.014 28.017);
--muted-foreground: oklch(0.418 0.002 27.954);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.988 0.007 207.905);
--primary-foreground: oklch(0.361 0.056 210.148);
--secondary: oklch(0.982 0.007 27.967);
--secondary-foreground: oklch(0.483 0.155 31.6);
--accent: oklch(0.982 0.007 27.967);
--accent-foreground: oklch(0.483 0.155 31.6);
--destructive: oklch(0.341 0.128 32.347);
--destructive-foreground: oklch(0.82 0.101 29.055);
--ring: oklch(0.988 0.007 207.905);
--chart-1: oklch(0.988 0.007 207.905);
--chart-2: oklch(0.982 0.007 27.967);
--chart-3: oklch(0.982 0.007 27.967);
--chart-4: oklch(1.009 0.003 207.919);
--chart-5: oklch(0.988 0.007 207.904);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.001 207.931);
--muted: oklch(0.219 0.021 28.73);
--muted-foreground: oklch(0.764 0.002 27.943);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.993 0.001 207.931);
--card: oklch(0 0 0);
--card-foreground: oklch(0.993 0.001 207.931);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.988 0.007 207.905);
--primary-foreground: oklch(0.361 0.056 210.148);
--secondary: oklch(0.982 0.007 27.967);
--secondary-foreground: oklch(0.483 0.155 31.6);
--accent: oklch(0.982 0.007 27.967);
--accent-foreground: oklch(0.483 0.155 31.6);
--destructive: oklch(0.598 0.234 30.934);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.988 0.007 207.905);
--chart-1: oklch(0.988 0.007 207.905);
--chart-2: oklch(0.982 0.007 27.967);
--chart-3: oklch(0.982 0.007 27.967);
--chart-4: oklch(1.009 0.003 207.919);
--chart-5: oklch(0.988 0.007 207.904);
}