Musculature is a shadcn/ui theme built around a deep violet primary color (#1b0925) with muted light red accents (#d9d3d3). The light mode uses a neutral background (#fdfbfe). Dark mode keeps the deep violet primary (#1b0925) on a neutral background (#060307).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbfewhite | #060307black |
| Foreground | #060209black | #ffffffwhite |
| Card | #fbf6fdghostwhite | #09040bblack |
| Card foreground | #030104black | #ffffffwhite |
| Popover | #fbf6fdghostwhite | #09040bblack |
| Popover foreground | #030104black | #ffffffwhite |
| Primary | #1b0925black | #1b0925black |
| Primary foreground | #bf7fe1orchid | #bf7fe1orchid |
| Secondary | #ebebeblinen | #2c282edarkslategray |
| Secondary foreground | #525252darkslategray | #c6c0c8silver |
| Muted | #eee7e7linen | #151118black |
| Muted foreground | #644f4fdimgray | #a99bb0darkgray |
| Accent | #d9d3d3lightgrey | #45394cdarkslategray |
| Accent foreground | #423838darkslategray | #ddd6e0gainsboro |
| Destructive | #91160ddarkred | #e52315crimson |
| Destructive foreground | #fbd8d5mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #1b0925black | #1b0925black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.96:1 | AAA |
| Text on card | 19.56:1 | AAA |
| Primary button | 6.59:1 | AA |
| Secondary button | 6.53:1 | AA |
| Muted text | 6.22:1 | AA |
| Accent | 7.66:1 | AAA |
| Destructive | 6.84:1 | AA |
| Text on background | 20.52:1 | AAA |
| Text on card | 20.29:1 | AAA |
| Primary button | 6.59:1 | AA |
| Secondary button | 8.08:1 | AAA |
| Muted text | 7.10:1 | AAA |
| Accent | 7.60:1 | AAA |
| Destructive | 4.59:1 | AA |
Paste this into your globals.css to use Musculature in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.005 314.191);
--foreground: oklch(0.101 0.029 316.698);
--muted: oklch(0.934 0.007 17.283);
--muted-foreground: oklch(0.448 0.029 18.287);
--popover: oklch(0.98 0.01 314.162);
--popover-foreground: oklch(0.08 0.023 316.698);
--card: oklch(0.98 0.01 314.162);
--card-foreground: oklch(0.08 0.023 316.698);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.185 0.059 312.015);
--primary-foreground: oklch(0.698 0.153 312.907);
--secondary: oklch(0.939 0 180);
--secondary-foreground: oklch(0.437 0 180);
--accent: oklch(0.872 0.007 17.295);
--accent-foreground: oklch(0.352 0.014 17.828);
--destructive: oklch(0.423 0.158 29.555);
--destructive-foreground: oklch(0.91 0.04 22.755);
--ring: oklch(0.185 0.059 312.015);
--chart-1: oklch(0.185 0.059 312.015);
--chart-2: oklch(0.939 0 180);
--chart-3: oklch(0.872 0.007 17.295);
--chart-4: oklch(0.962 0 180);
--chart-5: oklch(0.184 0.062 311.89);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.107 0.018 315.676);
--foreground: oklch(1 0 180);
--muted: oklch(0.187 0.015 313.789);
--muted-foreground: oklch(0.708 0.034 313.953);
--popover: oklch(0.122 0.02 315.584);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.122 0.02 315.584);
--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.185 0.059 312.015);
--primary-foreground: oklch(0.698 0.153 312.907);
--secondary: oklch(0.285 0.012 313.983);
--secondary-foreground: oklch(0.815 0.013 314.133);
--accent: oklch(0.365 0.035 313.689);
--accent-foreground: oklch(0.885 0.015 314.125);
--destructive: oklch(0.59 0.226 29.686);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.185 0.059 312.015);
--chart-1: oklch(0.185 0.059 312.015);
--chart-2: oklch(0.285 0.012 313.983);
--chart-3: oklch(0.365 0.035 313.689);
--chart-4: oklch(0.315 0.014 313.974);
--chart-5: oklch(0.184 0.062 311.89);
}