Career is a shadcn/ui theme built around a muted blue primary color (#4d525c) with muted green accents (#525c4d). The light mode uses a neutral background (#f7f9fc). Dark mode keeps the muted blue primary (#4d525c) on a blue-tinted background (#06090e).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f9fcghostwhite | #06090eblack |
| Foreground | #02060eblack | #f5f7fawhitesmoke |
| Card | #f7f9fcghostwhite | #06090eblack |
| Card foreground | #02060eblack | #f5f7fawhitesmoke |
| Popover | #f7f9fcghostwhite | #06090eblack |
| Popover foreground | #02060eblack | #f5f7fawhitesmoke |
| Primary | #4d525cdarkslategray | #4d525cdarkslategray |
| Primary foreground | #ecedefwhitesmoke | #ecedefwhitesmoke |
| Secondary | #5c4d52dimgray | #5c4d52dimgray |
| Secondary foreground | #efecedwhitesmoke | #efecedwhitesmoke |
| Muted | #eae1e4gainsboro | #1e1518black |
| Muted foreground | #463f41darkslategray | #c0b9bcsilver |
| Accent | #525c4ddarkolivegreen | #525c4ddarkolivegreen |
| Accent foreground | #edefecwhitesmoke | #edefecwhitesmoke |
| Destructive | #851c0amaroon | #e43111orangered |
| Destructive foreground | #fbcec6pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #4d525cdarkslategray | #4d525cdarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.28:1 | AAA |
| Text on card | 19.28:1 | AAA |
| Primary button | 6.69:1 | AA |
| Secondary button | 6.81:1 | AA |
| Muted text | 8.00:1 | AAA |
| Accent | 6.07:1 | AA |
| Destructive | 6.79:1 | AA |
| Text on background | 18.56:1 | AAA |
| Text on card | 18.56:1 | AAA |
| Primary button | 6.69:1 | AA |
| Secondary button | 6.81:1 | AA |
| Muted text | 9.27:1 | AAA |
| Accent | 6.07:1 | AA |
| Destructive | 4.43:1 | AA Large |
Paste this into your globals.css to use Career in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.005 261.513);
--foreground: oklch(0.12 0.023 250.098);
--muted: oklch(0.918 0.011 352.915);
--muted-foreground: oklch(0.375 0.01 353.321);
--popover: oklch(0.982 0.005 261.513);
--popover-foreground: oklch(0.12 0.023 250.098);
--card: oklch(0.982 0.005 261.513);
--card-foreground: oklch(0.12 0.023 250.098);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.438 0.017 261.455);
--primary-foreground: oklch(0.945 0.003 261.513);
--secondary: oklch(0.436 0.022 353.976);
--secondary-foreground: oklch(0.945 0.004 352.69);
--accent: oklch(0.461 0.027 133.983);
--accent-foreground: oklch(0.949 0.005 133.637);
--destructive: oklch(0.405 0.142 32.196);
--destructive-foreground: oklch(0.888 0.052 29.79);
--ring: oklch(0.438 0.017 261.455);
--chart-1: oklch(0.438 0.017 261.455);
--chart-2: oklch(0.436 0.022 353.976);
--chart-3: oklch(0.461 0.027 133.983);
--chart-4: oklch(0.463 0.024 353.993);
--chart-5: oklch(0.435 0.023 261.413);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.013 257.9);
--foreground: oklch(0.974 0.005 261.513);
--muted: oklch(0.208 0.016 354.696);
--muted-foreground: oklch(0.793 0.008 352.87);
--popover: oklch(0.139 0.013 257.9);
--popover-foreground: oklch(0.974 0.005 261.513);
--card: oklch(0.139 0.013 257.9);
--card-foreground: oklch(0.974 0.005 261.513);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.438 0.017 261.455);
--primary-foreground: oklch(0.945 0.003 261.513);
--secondary: oklch(0.436 0.022 353.976);
--secondary-foreground: oklch(0.945 0.004 352.69);
--accent: oklch(0.461 0.027 133.983);
--accent-foreground: oklch(0.949 0.005 133.637);
--destructive: oklch(0.597 0.217 31.955);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.438 0.017 261.455);
--chart-1: oklch(0.438 0.017 261.455);
--chart-2: oklch(0.436 0.022 353.976);
--chart-3: oklch(0.461 0.027 133.983);
--chart-4: oklch(0.463 0.024 353.993);
--chart-5: oklch(0.435 0.023 261.413);
}