Workplace is a shadcn/ui theme built around a vivid light blue primary color (#c4dcf8) with muted light blue accents (#c3ceda). The light mode uses a neutral background (#f7fafd). Dark mode keeps the vivid light blue primary (#c4dcf8) on a neutral background (#030507).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fafdghostwhite | #030507black |
| Foreground | #050c14black | #fcfcfdwhite |
| Card | #f7fafdghostwhite | #030507black |
| Card foreground | #050c14black | #fcfcfdwhite |
| Popover | #f7fafdghostwhite | #030507black |
| Popover foreground | #050c14black | #fcfcfdwhite |
| Primary | #c4dcf8powderblue | #c4dcf8powderblue |
| Primary foreground | #0e417bmidnightblue | #0e417bmidnightblue |
| Secondary | #d9dde3gainsboro | #1f2123black |
| Secondary foreground | #3a4450darkslategray | #b7babesilver |
| Muted | #cbd8e6gainsboro | #192534darkslategray |
| Muted foreground | #5a5c5edimgray | #a1a3a5darkgray |
| Accent | #c3cedalightgrey | #2e3338darkslategray |
| Accent foreground | #293542darkslategray | #c7ccd1lightgrey |
| Destructive | #c64d15chocolate | #de5617chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c4dcf8powderblue | #c4dcf8powderblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.70:1 | AAA |
| Text on card | 18.70:1 | AAA |
| Primary button | 7.25:1 | AAA |
| Secondary button | 7.27:1 | AAA |
| Muted text | 4.63:1 | AA |
| Accent | 7.81:1 | AAA |
| Destructive | 4.67:1 | AA |
| Text on background | 19.91:1 | AAA |
| Text on card | 19.91:1 | AAA |
| Primary button | 7.25:1 | AAA |
| Secondary button | 8.28:1 | AAA |
| Muted text | 6.10:1 | AA |
| Accent | 7.91:1 | AAA |
| Destructive | 3.86:1 | AA Large |
Paste this into your globals.css to use Workplace in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.005 251.496);
--foreground: oklch(0.152 0.021 249.734);
--muted: oklch(0.877 0.024 251.66);
--muted-foreground: oklch(0.473 0.004 251.516);
--popover: oklch(0.983 0.005 251.496);
--popover-foreground: oklch(0.152 0.021 249.734);
--card: oklch(0.983 0.005 251.496);
--card-foreground: oklch(0.152 0.021 249.734);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.886 0.047 251.833);
--primary-foreground: oklch(0.378 0.111 255.155);
--secondary: oklch(0.897 0.009 251.535);
--secondary-foreground: oklch(0.383 0.024 251.903);
--accent: oklch(0.846 0.02 251.634);
--accent-foreground: oklch(0.323 0.028 252.063);
--destructive: oklch(0.576 0.167 41.069);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.886 0.047 251.833);
--chart-1: oklch(0.886 0.047 251.833);
--chart-2: oklch(0.897 0.009 251.535);
--chart-3: oklch(0.846 0.02 251.634);
--chart-4: oklch(0.921 0.007 251.514);
--chart-5: oklch(0.885 0.048 251.847);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.112 0.01 244.857);
--foreground: oklch(0.992 0 251.454);
--muted: oklch(0.261 0.032 252.326);
--muted-foreground: oklch(0.715 0.003 251.49);
--popover: oklch(0.112 0.01 244.857);
--popover-foreground: oklch(0.992 0 251.454);
--card: oklch(0.112 0.01 244.857);
--card-foreground: oklch(0.992 0 251.454);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.886 0.047 251.833);
--primary-foreground: oklch(0.378 0.111 255.155);
--secondary: oklch(0.247 0.004 251.581);
--secondary-foreground: oklch(0.787 0.006 251.515);
--accent: oklch(0.317 0.012 251.728);
--accent-foreground: oklch(0.842 0.009 251.538);
--destructive: oklch(0.624 0.182 40.92);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.886 0.047 251.833);
--chart-1: oklch(0.886 0.047 251.833);
--chart-2: oklch(0.247 0.004 251.581);
--chart-3: oklch(0.317 0.012 251.728);
--chart-4: oklch(0.278 0.005 251.588);
--chart-5: oklch(0.885 0.048 251.847);
}