Workshop is a shadcn/ui theme built around a vivid blue primary color (#7d8cfc) with muted light blue accents (#dedfe8). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the vivid blue primary (#7d8cfc) on a neutral background (#010204).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfbfeghostwhite | #010204black |
| Foreground | #020308black | #fcfcfdwhite |
| Card | #f7f8fdghostwhite | #030308black |
| Card foreground | #010104black | #ffffffwhite |
| Popover | #fbfbfeghostwhite | #010204black |
| Popover foreground | #020308black | #fcfcfdwhite |
| Primary | #7d8cfccornflowerblue | #7d8cfccornflowerblue |
| Primary foreground | #010946midnightblue | #010946midnightblue |
| Secondary | #dedfe8gainsboro | #232324black |
| Secondary foreground | #3d4057darkslategray | #bbbcbesilver |
| Muted | #f1f1f4whitesmoke | #0b0b0eblack |
| Muted foreground | #3c3d49darkslategray | #b6b8c3silver |
| Accent | #dedfe8gainsboro | #232324black |
| Accent foreground | #3d4057darkslategray | #bbbcbesilver |
| Destructive | #953904saddlebrown | #e55806orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #7d8cfccornflowerblue | #7d8cfccornflowerblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.99:1 | AAA |
| Text on card | 19.61:1 | AAA |
| Primary button | 6.22:1 | AA |
| Secondary button | 7.66:1 | AAA |
| Muted text | 9.51:1 | AAA |
| Accent | 7.66:1 | AAA |
| Destructive | 7.31:1 | AAA |
| Text on background | 20.27:1 | AAA |
| Text on card | 20.57:1 | AAA |
| Primary button | 6.22:1 | AA |
| Secondary button | 8.24:1 | AAA |
| Muted text | 9.92:1 | AAA |
| Accent | 8.24:1 | AAA |
| Destructive | 3.67:1 | AA Large |
Paste this into your globals.css to use Workshop in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 280.277);
--foreground: oklch(0.097 0.021 272.953);
--muted: oklch(0.959 0.004 280.266);
--muted-foreground: oklch(0.364 0.02 279.403);
--popover: oklch(0.99 0.003 280.277);
--popover-foreground: oklch(0.097 0.021 272.953);
--card: oklch(0.979 0.007 280.223);
--card-foreground: oklch(0.077 0.016 272.953);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.68 0.165 275.44);
--primary-foreground: oklch(0.197 0.111 265.134);
--secondary: oklch(0.906 0.011 280.13);
--secondary-foreground: oklch(0.379 0.038 278.564);
--accent: oklch(0.906 0.011 280.13);
--accent-foreground: oklch(0.379 0.038 278.564);
--destructive: oklch(0.468 0.136 43.228);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.68 0.165 275.44);
--chart-1: oklch(0.68 0.165 275.44);
--chart-2: oklch(0.906 0.011 280.13);
--chart-3: oklch(0.906 0.011 280.13);
--chart-4: oklch(0.932 0.008 280.191);
--chart-5: oklch(0.677 0.17 275.229);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.081 0.012 275.251);
--foreground: oklch(0.991 0.002 280.302);
--muted: oklch(0.153 0.006 279.658);
--muted-foreground: oklch(0.784 0.017 279.992);
--popover: oklch(0.081 0.012 275.251);
--popover-foreground: oklch(0.991 0.002 280.302);
--card: oklch(0.102 0.016 275.251);
--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.68 0.165 275.44);
--primary-foreground: oklch(0.197 0.111 265.134);
--secondary: oklch(0.257 0.002 280.187);
--secondary-foreground: oklch(0.795 0.003 280.266);
--accent: oklch(0.257 0.002 280.187);
--accent-foreground: oklch(0.795 0.003 280.266);
--destructive: oklch(0.637 0.19 42.061);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.68 0.165 275.44);
--chart-1: oklch(0.68 0.165 275.44);
--chart-2: oklch(0.257 0.002 280.187);
--chart-3: oklch(0.257 0.002 280.187);
--chart-4: oklch(0.288 0.003 280.179);
--chart-5: oklch(0.677 0.17 275.229);
}