Workshop is a shadcn/ui theme built around a light blue primary color (#bec3e0) with light green accents (#c3e0be). The light mode uses a neutral background (#f8f9fc). Dark mode keeps the light blue primary (#bec3e0) on a neutral background (#030407).
| Token | Light | Dark |
|---|---|---|
| Background | #f8f9fcghostwhite | #030407black |
| Foreground | #02040dblack | #f4f5fawhitesmoke |
| Card | #f8f9fcghostwhite | #030407black |
| Card foreground | #02040dblack | #f4f5fawhitesmoke |
| Popover | #f8f9fcghostwhite | #030407black |
| Popover foreground | #02040dblack | #f4f5fawhitesmoke |
| Primary | #bec3e0lightsteelblue | #bec3e0lightsteelblue |
| Primary foreground | #232948darkslategray | #232948darkslategray |
| Secondary | #e0bec3thistle | #e0bec3thistle |
| Secondary foreground | #482329darkslategray | #482329darkslategray |
| Muted | #ddd9dagainsboro | #262222black |
| Muted foreground | #4e3c3fdarkslategray | #c3b1b4silver |
| Accent | #c3e0belightgrey | #c3e0belightgrey |
| Accent foreground | #294823darkslategray | #294823darkslategray |
| Destructive | #842601saddlebrown | #f44601orangered |
| Destructive foreground | #ffccb8peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #bec3e0lightsteelblue | #bec3e0lightsteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.39:1 | AAA |
| Text on card | 19.39:1 | AAA |
| Primary button | 8.14:1 | AAA |
| Secondary button | 7.92:1 | AAA |
| Muted text | 7.36:1 | AAA |
| Accent | 7.17:1 | AAA |
| Destructive | 6.46:1 | AA |
| Text on background | 18.82:1 | AAA |
| Text on card | 18.82:1 | AAA |
| Primary button | 8.14:1 | AAA |
| Secondary button | 7.92:1 | AAA |
| Muted text | 7.72:1 | AAA |
| Accent | 7.17:1 | AAA |
| Destructive | 3.68:1 | AA Large |
Paste this into your globals.css to use Workshop in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.004 277.197);
--foreground: oklch(0.109 0.028 266.822);
--muted: oklch(0.889 0.005 5.588);
--muted-foreground: oklch(0.376 0.026 7.18);
--popover: oklch(0.981 0.004 277.197);
--popover-foreground: oklch(0.109 0.028 266.822);
--card: oklch(0.981 0.004 277.197);
--card-foreground: oklch(0.109 0.028 266.822);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.823 0.04 276.537);
--primary-foreground: oklch(0.292 0.058 273.751);
--secondary: oklch(0.831 0.039 6.659);
--secondary-foreground: oklch(0.309 0.057 10.402);
--accent: oklch(0.875 0.055 140.437);
--accent-foreground: oklch(0.368 0.072 140.346);
--destructive: oklch(0.412 0.135 37.847);
--destructive-foreground: oklch(0.884 0.064 42.644);
--ring: oklch(0.823 0.04 276.537);
--chart-1: oklch(0.823 0.04 276.537);
--chart-2: oklch(0.831 0.039 6.659);
--chart-3: oklch(0.875 0.055 140.437);
--chart-4: oklch(0.858 0.033 6.426);
--chart-5: oklch(0.82 0.044 276.466);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.108 0.01 273.882);
--foreground: oklch(0.972 0.007 277.167);
--muted: oklch(0.255 0.007 6.114);
--muted-foreground: oklch(0.777 0.021 6.14);
--popover: oklch(0.108 0.01 273.882);
--popover-foreground: oklch(0.972 0.007 277.167);
--card: oklch(0.108 0.01 273.882);
--card-foreground: oklch(0.972 0.007 277.167);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.823 0.04 276.537);
--primary-foreground: oklch(0.292 0.058 273.751);
--secondary: oklch(0.831 0.039 6.659);
--secondary-foreground: oklch(0.309 0.057 10.402);
--accent: oklch(0.875 0.055 140.437);
--accent-foreground: oklch(0.368 0.072 140.346);
--destructive: oklch(0.642 0.218 36.214);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.823 0.04 276.537);
--chart-1: oklch(0.823 0.04 276.537);
--chart-2: oklch(0.831 0.039 6.659);
--chart-3: oklch(0.875 0.055 140.437);
--chart-4: oklch(0.858 0.033 6.426);
--chart-5: oklch(0.82 0.044 276.466);
}