Employment is a shadcn/ui theme built around a violet primary color (#a06ebf) with purple accents (#bf6eb6). The light mode uses a neutral background (#ffffff). Dark mode keeps the violet primary (#a06ebf) on a violet-tinted background (#0b050f).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0b050fblack |
| Foreground | #030104black | #faf9fbghostwhite |
| Card | #ffffffwhite | #0b050fblack |
| Card foreground | #030104black | #faf9fbghostwhite |
| Popover | #ffffffwhite | #0b050fblack |
| Popover foreground | #030104black | #faf9fbghostwhite |
| Primary | #a06ebfmediumpurple | #a06ebfmediumpurple |
| Primary foreground | #000000black | #000000black |
| Secondary | #776ebfslateblue | #776ebfslateblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e7e6ealavender | #161519black |
| Muted foreground | #615f6ddimgray | #9492a0lightslategray |
| Accent | #bf6eb6mediumorchid | #bf6eb6mediumorchid |
| Accent foreground | #000000black | #000000black |
| Destructive | #651b06maroon | #f14b1eorangered |
| Destructive foreground | #f9b6a4lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a06ebfmediumpurple | #a06ebfmediumpurple |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.79:1 | AAA |
| Text on card | 20.79:1 | AAA |
| Primary button | 5.46:1 | AA |
| Secondary button | 4.41:1 | AA Large |
| Muted text | 5.02:1 | AA |
| Accent | 6.11:1 | AA |
| Destructive | 7.17:1 | AAA |
| Text on background | 19.15:1 | AAA |
| Text on card | 19.15:1 | AAA |
| Primary button | 5.46:1 | AA |
| Secondary button | 4.41:1 | AA Large |
| Muted text | 5.95:1 | AA |
| Accent | 6.11:1 | AA |
| Destructive | 3.64:1 | AA Large |
Paste this into your globals.css to use Employment in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.082 0.018 314.82);
--muted: oklch(0.927 0.005 291.679);
--muted-foreground: oklch(0.492 0.023 290.896);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.082 0.018 314.82);
--card: oklch(1 0 180);
--card-foreground: oklch(0.082 0.018 314.82);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.621 0.13 311.466);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.582 0.123 287.29);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.652 0.138 331.398);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.341 0.11 35.435);
--destructive-foreground: oklch(0.835 0.082 36.049);
--ring: oklch(0.621 0.13 311.466);
--chart-1: oklch(0.621 0.13 311.466);
--chart-2: oklch(0.582 0.123 287.29);
--chart-3: oklch(0.652 0.138 331.398);
--chart-4: oklch(0.613 0.113 287.944);
--chart-5: oklch(0.618 0.14 311.323);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.134 0.025 313.036);
--foreground: oklch(0.983 0.003 312.963);
--muted: oklch(0.198 0.007 291.077);
--muted-foreground: oklch(0.666 0.021 291.18);
--popover: oklch(0.134 0.025 313.036);
--popover-foreground: oklch(0.983 0.003 312.963);
--card: oklch(0.134 0.025 313.036);
--card-foreground: oklch(0.983 0.003 312.963);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.621 0.13 311.466);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.582 0.123 287.29);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.652 0.138 331.398);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.643 0.209 35.203);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.621 0.13 311.466);
--chart-1: oklch(0.621 0.13 311.466);
--chart-2: oklch(0.582 0.123 287.29);
--chart-3: oklch(0.652 0.138 331.398);
--chart-4: oklch(0.613 0.113 287.944);
--chart-5: oklch(0.618 0.14 311.323);
}