Employ is a shadcn/ui theme built around a muted indigo primary color (#a6a1ba) with neutral gray accents (#dddddf). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted indigo primary (#a6a1ba) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #060410black | #ffffffwhite |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #05030cblack | #ffffffwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #060410black | #ffffffwhite |
| Primary | #a6a1badarkgray | #a6a1badarkgray |
| Primary foreground | #121117black | #121117black |
| Secondary | #dddddfgainsboro | #28282adarkslategray |
| Secondary foreground | #444347darkslategray | #c1c1c3silver |
| Muted | #dddaecgainsboro | #161325black |
| Muted foreground | #5e5a72dimgray | #918da5lightslategray |
| Accent | #dddddfgainsboro | #28282adarkslategray |
| Accent foreground | #444347darkslategray | #c1c1c3silver |
| Destructive | #b73806firebrick | #e44607orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a6a1badarkgray | #a6a1badarkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.33:1 | AAA |
| Text on card | 20.05:1 | AAA |
| Primary button | 7.53:1 | AAA |
| Secondary button | 7.23:1 | AAA |
| Muted text | 4.80:1 | AA |
| Accent | 7.23:1 | AAA |
| Destructive | 5.86:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 7.53:1 | AAA |
| Secondary button | 8.18:1 | AAA |
| Muted text | 5.68:1 | AA |
| Accent | 8.18:1 | AAA |
| Destructive | 4.07:1 | AA Large |
Paste this into your globals.css to use Employ in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.122 0.03 292.362);
--muted: oklch(0.896 0.025 294.296);
--muted-foreground: oklch(0.48 0.039 293.268);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.122 0.03 292.362);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.11 0.026 293.282);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.721 0.035 293.901);
--primary-foreground: oklch(0.183 0.012 293.536);
--secondary: oklch(0.898 0.003 294.768);
--secondary-foreground: oklch(0.384 0.007 294.486);
--accent: oklch(0.898 0.003 294.768);
--accent-foreground: oklch(0.384 0.007 294.486);
--destructive: oklch(0.524 0.171 37.329);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.721 0.035 293.901);
--chart-1: oklch(0.721 0.035 293.901);
--chart-2: oklch(0.898 0.003 294.768);
--chart-3: oklch(0.898 0.003 294.768);
--chart-4: oklch(0.922 0.002 294.782);
--chart-5: oklch(0.716 0.043 293.701);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.2 0.037 291.135);
--muted-foreground: oklch(0.655 0.036 293.78);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.721 0.035 293.901);
--primary-foreground: oklch(0.183 0.012 293.536);
--secondary: oklch(0.278 0.003 294.624);
--secondary-foreground: oklch(0.811 0.003 294.745);
--accent: oklch(0.278 0.003 294.624);
--accent-foreground: oklch(0.811 0.003 294.745);
--destructive: oklch(0.615 0.203 36.93);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.721 0.035 293.901);
--chart-1: oklch(0.721 0.035 293.901);
--chart-2: oklch(0.278 0.003 294.624);
--chart-3: oklch(0.278 0.003 294.624);
--chart-4: oklch(0.308 0.003 294.615);
--chart-5: oklch(0.716 0.043 293.701);
}