joblance - 2 is a shadcn/ui theme built around a vivid deep blue primary color (#00438f) with vivid deep indigo accents (#05008f). The light mode uses a neutral background (#fbfcfd). Dark mode keeps the vivid deep blue primary (#00438f) on a neutral background (#010204).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfdwhite | #010204black |
| Foreground | #050c14black | #ffffffwhite |
| Card | #f8fafcghostwhite | #030507black |
| Card foreground | #040a10black | #ffffffwhite |
| Popover | #f8fafcghostwhite | #030507black |
| Popover foreground | #040a10black | #ffffffwhite |
| Primary | #00438fmidnightblue | #00438fmidnightblue |
| Primary foreground | #c2deffpaleturquoise | #c2deffpaleturquoise |
| Secondary | #008a8fdarkcyan | #008a8fdarkcyan |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #d8e8e8gainsboro | #172627black |
| Muted foreground | #53696adimgray | #95abacdarkgray |
| Accent | #05008fdarkblue | #05008fdarkblue |
| Accent foreground | #c4c2fflightsteelblue | #c4c2fflightsteelblue |
| Destructive | #b92c09firebrick | #f55229tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e8eaedlavender | #16191dblack |
| Input | #e8eaedlavender | #16191dblack |
| Ring | #00438fmidnightblue | #00438fmidnightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.18:1 | AAA |
| Text on card | 18.97:1 | AAA |
| Primary button | 6.93:1 | AA |
| Secondary button | 4.17:1 | AA Large |
| Muted text | 4.62:1 | AA |
| Accent | 8.92:1 | AAA |
| Destructive | 6.12:1 | AA |
| Text on background | 20.70:1 | AAA |
| Text on card | 20.42:1 | AAA |
| Primary button | 6.93:1 | AA |
| Secondary button | 4.17:1 | AA Large |
| Muted text | 6.48:1 | AA |
| Accent | 8.92:1 | AAA |
| Destructive | 3.44:1 | AA Large |
Paste this into your globals.css to use joblance - 2 in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.002 251.465);
--foreground: oklch(0.152 0.021 249.643);
--muted: oklch(0.919 0.016 199.367);
--muted-foreground: oklch(0.503 0.026 198.958);
--popover: oklch(0.984 0.004 251.48);
--popover-foreground: oklch(0.14 0.018 246.711);
--card: oklch(0.984 0.004 251.48);
--card-foreground: oklch(0.14 0.018 246.711);
--border: oklch(0.937 0.005 251.491);
--input: oklch(0.937 0.005 251.491);
--primary: oklch(0.395 0.14 256.923);
--primary-foreground: oklch(0.891 0.054 251.888);
--secondary: oklch(0.575 0.098 199.075);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.295 0.202 265.186);
--accent-foreground: oklch(0.836 0.085 285.927);
--destructive: oklch(0.516 0.182 33.614);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.395 0.14 256.923);
--chart-1: oklch(0.395 0.14 256.923);
--chart-2: oklch(0.575 0.098 199.075);
--chart-3: oklch(0.295 0.202 265.186);
--chart-4: oklch(0.62 0.105 199.114);
--chart-5: oklch(0.396 0.143 257.087);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.089 0.008 244.857);
--foreground: oklch(1 0 180);
--muted: oklch(0.255 0.021 198.663);
--muted-foreground: oklch(0.725 0.024 199.17);
--popover: oklch(0.112 0.01 244.857);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.112 0.01 244.857);
--card-foreground: oklch(1 0 180);
--border: oklch(0.213 0.008 251.746);
--input: oklch(0.213 0.008 251.746);
--primary: oklch(0.395 0.14 256.923);
--primary-foreground: oklch(0.891 0.054 251.888);
--secondary: oklch(0.575 0.098 199.075);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.295 0.202 265.186);
--accent-foreground: oklch(0.836 0.085 285.927);
--destructive: oklch(0.657 0.206 34.758);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.395 0.14 256.923);
--chart-1: oklch(0.395 0.14 256.923);
--chart-2: oklch(0.575 0.098 199.075);
--chart-3: oklch(0.295 0.202 265.186);
--chart-4: oklch(0.62 0.105 199.114);
--chart-5: oklch(0.396 0.143 257.087);
}