Occupation is a shadcn/ui theme built around a vivid light violet primary color (#dbb6fb) with vivid light teal accents (#b6fbdb). The light mode uses a neutral background (#faf8fc). Dark mode keeps the vivid light violet primary (#dbb6fb) on a violet-tinted background (#08040c).
| Token | Light | Dark |
|---|---|---|
| Background | #faf8fcghostwhite | #08040cblack |
| Foreground | #030104black | #fcfcfdwhite |
| Card | #faf8fcghostwhite | #08040cblack |
| Card foreground | #030104black | #fcfcfdwhite |
| Popover | #faf8fcghostwhite | #08040cblack |
| Popover foreground | #030104black | #fcfcfdwhite |
| Primary | #dbb6fbthistle | #dbb6fbthistle |
| Primary foreground | #440679indigo | #440679indigo |
| Secondary | #fbdbb6peachpuff | #fbdbb6peachpuff |
| Secondary foreground | #794406saddlebrown | #794406saddlebrown |
| Muted | #e4dcd2gainsboro | #2d241bblack |
| Muted foreground | #71675bdimgray | #a49a8erosybrown |
| Accent | #b6fbdbpaleturquoise | #b6fbdbpaleturquoise |
| Accent foreground | #01180eblack | #01180eblack |
| Destructive | #a23506saddlebrown | #f65713orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #dbb6fbthistle | #dbb6fbthistle |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.70:1 | AAA |
| Text on card | 19.70:1 | AAA |
| Primary button | 7.83:1 | AAA |
| Secondary button | 6.02:1 | AA |
| Muted text | 4.07:1 | AA Large |
| Accent | 15.67:1 | AAA |
| Destructive | 6.87:1 | AA |
| Text on background | 19.86:1 | AAA |
| Text on card | 19.86:1 | AAA |
| Primary button | 7.83:1 | AAA |
| Secondary button | 6.02:1 | AA |
| Muted text | 5.49:1 | AA |
| Accent | 15.67:1 | AAA |
| Destructive | 3.32:1 | AA Large |
Paste this into your globals.css to use Occupation in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.005 309.732);
--foreground: oklch(0.08 0.02 311.666);
--muted: oklch(0.898 0.016 71.292);
--muted-foreground: oklch(0.519 0.023 71.007);
--popover: oklch(0.982 0.005 309.732);
--popover-foreground: oklch(0.08 0.02 311.666);
--card: oklch(0.982 0.005 309.732);
--card-foreground: oklch(0.08 0.02 311.666);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.833 0.102 308.562);
--primary-foreground: oklch(0.324 0.166 299.954);
--secondary: oklch(0.909 0.06 70.692);
--secondary-foreground: oklch(0.441 0.099 60.934);
--accent: oklch(0.934 0.081 164.256);
--accent-foreground: oklch(0.187 0.039 161.645);
--destructive: oklch(0.485 0.153 38.671);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.833 0.102 308.562);
--chart-1: oklch(0.833 0.102 308.562);
--chart-2: oklch(0.909 0.06 70.692);
--chart-3: oklch(0.934 0.081 164.256);
--chart-4: oklch(0.927 0.048 70.901);
--chart-5: oklch(0.831 0.105 308.518);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.118 0.024 311.156);
--foreground: oklch(0.992 0.001 309.778);
--muted: oklch(0.268 0.021 70.48);
--muted-foreground: oklch(0.691 0.021 71.158);
--popover: oklch(0.118 0.024 311.156);
--popover-foreground: oklch(0.992 0.001 309.778);
--card: oklch(0.118 0.024 311.156);
--card-foreground: oklch(0.992 0.001 309.778);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.833 0.102 308.562);
--primary-foreground: oklch(0.324 0.166 299.954);
--secondary: oklch(0.909 0.06 70.692);
--secondary-foreground: oklch(0.441 0.099 60.934);
--accent: oklch(0.934 0.081 164.256);
--accent-foreground: oklch(0.187 0.039 161.645);
--destructive: oklch(0.665 0.206 38.962);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.833 0.102 308.562);
--chart-1: oklch(0.833 0.102 308.562);
--chart-2: oklch(0.909 0.06 70.692);
--chart-3: oklch(0.934 0.081 164.256);
--chart-4: oklch(0.927 0.048 70.901);
--chart-5: oklch(0.831 0.105 308.518);
}