Musician is a shadcn/ui theme built around a green primary color (#c3d284) with indigo accents (#9284d2). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#c3d284) on a green-tinted background (#0d0f05).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0d0f05black |
| Foreground | #000000black | #f9f9f5whitesmoke |
| Card | #fcfcfcsnow | #111306black |
| Card foreground | #000000black | #fbfbf9snow |
| Popover | #fcfcfcsnow | #111306black |
| Popover foreground | #000000black | #fbfbf9snow |
| Primary | #c3d284tan | #c3d284tan |
| Primary foreground | #171a0ablack | #171a0ablack |
| Secondary | #9284d2mediumpurple | #9284d2mediumpurple |
| Secondary foreground | #0d0a1ablack | #0d0a1ablack |
| Muted | #e3e0f0lavender | #120f1fblack |
| Muted foreground | #524f5fdimgray | #a3a0b0darkgray |
| Accent | #9284d2mediumpurple | #9284d2mediumpurple |
| Accent foreground | #0d0a1ablack | #0d0a1ablack |
| Destructive | #961b08darkred | #f4492ftomato |
| Destructive foreground | #fdd9d3mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c3d284tan | #c3d284tan |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 10.80:1 | AAA |
| Secondary button | 6.00:1 | AA |
| Muted text | 6.14:1 | AA |
| Accent | 6.00:1 | AA |
| Destructive | 6.52:1 | AA |
| Text on background | 18.24:1 | AAA |
| Text on card | 18.07:1 | AAA |
| Primary button | 10.80:1 | AAA |
| Secondary button | 6.00:1 | AA |
| Muted text | 7.36:1 | AAA |
| Accent | 6.00:1 | AA |
| Destructive | 3.59:1 | AA Large |
Paste this into your globals.css to use Musician in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.915 0.021 294.404);
--muted-foreground: oklch(0.436 0.026 293.715);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--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.834 0.102 117.134);
--primary-foreground: oklch(0.21 0.03 117.57);
--secondary: oklch(0.658 0.114 291.356);
--secondary-foreground: oklch(0.157 0.034 290.315);
--accent: oklch(0.658 0.114 291.356);
--accent-foreground: oklch(0.157 0.034 290.315);
--destructive: oklch(0.437 0.161 31.474);
--destructive-foreground: oklch(0.913 0.041 28.225);
--ring: oklch(0.834 0.102 117.134);
--chart-1: oklch(0.834 0.102 117.134);
--chart-2: oklch(0.658 0.114 291.356);
--chart-3: oklch(0.658 0.114 291.356);
--chart-4: oklch(0.689 0.103 291.887);
--chart-5: oklch(0.84 0.108 117.26);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.164 0.022 116.659);
--foreground: oklch(0.981 0.005 114.92);
--muted: oklch(0.182 0.031 291.449);
--muted-foreground: oklch(0.715 0.023 294.233);
--popover: oklch(0.181 0.026 117.22);
--popover-foreground: oklch(0.988 0.003 114.887);
--card: oklch(0.181 0.026 117.22);
--card-foreground: oklch(0.988 0.003 114.887);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.834 0.102 117.134);
--primary-foreground: oklch(0.21 0.03 117.57);
--secondary: oklch(0.658 0.114 291.356);
--secondary-foreground: oklch(0.157 0.034 290.315);
--accent: oklch(0.658 0.114 291.356);
--accent-foreground: oklch(0.157 0.034 290.315);
--destructive: oklch(0.648 0.212 31.63);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.834 0.102 117.134);
--chart-1: oklch(0.834 0.102 117.134);
--chart-2: oklch(0.658 0.114 291.356);
--chart-3: oklch(0.658 0.114 291.356);
--chart-4: oklch(0.689 0.103 291.887);
--chart-5: oklch(0.84 0.108 117.26);
}