Conductor is a shadcn/ui theme built around a light yellow primary color (#f7f4e8) with light green accents (#f3f7e8). The light mode uses a neutral background (#ffffff). Dark mode keeps the light yellow primary (#f7f4e8) on a neutral background (#030302).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030302black |
| Foreground | #0d0b02black | #ffffffwhite |
| Card | #ffffffwhite | #030302black |
| Card foreground | #0d0b02black | #ffffffwhite |
| Popover | #ffffffwhite | #030302black |
| Popover foreground | #0d0b02black | #ffffffwhite |
| Primary | #f7f4e8linen | #f7f4e8linen |
| Primary foreground | #352d13darkslategray | #352d13darkslategray |
| Secondary | #f7ede8linen | #f7ede8linen |
| Secondary foreground | #80452dsaddlebrown | #80452dsaddlebrown |
| Muted | #f2efedwhitesmoke | #120e0dblack |
| Muted foreground | #50443fdarkslategray | #c0b4afsilver |
| Accent | #f3f7e8linen | #f3f7e8linen |
| Accent foreground | #2b3513darkslategray | #2b3513darkslategray |
| Destructive | #7f300bsaddlebrown | #e15514chocolate |
| Destructive foreground | #fad4c2peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f7f4e8linen | #f7f4e8linen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.70:1 | AAA |
| Text on card | 19.70:1 | AAA |
| Primary button | 12.40:1 | AAA |
| Secondary button | 6.47:1 | AA |
| Muted text | 8.17:1 | AAA |
| Accent | 11.89:1 | AAA |
| Destructive | 6.57:1 | AA |
| Text on background | 20.61:1 | AAA |
| Text on card | 20.61:1 | AAA |
| Primary button | 12.40:1 | AAA |
| Secondary button | 6.47:1 | AA |
| Muted text | 9.48:1 | AAA |
| Accent | 11.89:1 | AAA |
| Destructive | 3.81:1 | AA Large |
Paste this into your globals.css to use Conductor in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.147 0.021 98.208);
--muted: oklch(0.953 0.004 43.087);
--muted-foreground: oklch(0.397 0.019 42.776);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.147 0.021 98.208);
--card: oklch(1 0 180);
--card-foreground: oklch(0.147 0.021 98.208);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.966 0.016 94.034);
--primary-foreground: oklch(0.3 0.043 94.175);
--secondary: oklch(0.952 0.013 43.012);
--secondary-foreground: oklch(0.457 0.09 41.854);
--accent: oklch(0.969 0.02 119.656);
--accent-foreground: oklch(0.31 0.056 122.852);
--destructive: oklch(0.416 0.119 41.412);
--destructive-foreground: oklch(0.896 0.049 46.318);
--ring: oklch(0.966 0.016 94.034);
--chart-1: oklch(0.966 0.016 94.034);
--chart-2: oklch(0.952 0.013 43.012);
--chart-3: oklch(0.969 0.02 119.656);
--chart-4: oklch(0.976 0.006 43.071);
--chart-5: oklch(0.967 0.017 94.044);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.008 96.85);
--foreground: oklch(1 0 180);
--muted: oklch(0.169 0.007 42.81);
--muted-foreground: oklch(0.778 0.016 42.958);
--popover: oklch(0.097 0.008 96.85);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.097 0.008 96.85);
--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.966 0.016 94.034);
--primary-foreground: oklch(0.3 0.043 94.175);
--secondary: oklch(0.952 0.013 43.012);
--secondary-foreground: oklch(0.457 0.09 41.854);
--accent: oklch(0.969 0.02 119.656);
--accent-foreground: oklch(0.31 0.056 122.852);
--destructive: oklch(0.628 0.188 40.444);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.966 0.016 94.034);
--chart-1: oklch(0.966 0.016 94.034);
--chart-2: oklch(0.952 0.013 43.012);
--chart-3: oklch(0.969 0.02 119.656);
--chart-4: oklch(0.976 0.006 43.071);
--chart-5: oklch(0.967 0.017 94.044);
}