Technician is a shadcn/ui theme built around a deep pink primary color (#1e0615) with muted light pink accents (#cebac7). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep pink primary (#1e0615) on a neutral background (#040103).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040103black |
| Foreground | #16040fblack | #faf4f8whitesmoke |
| Card | #ffffffwhite | #040103black |
| Card foreground | #16040fblack | #faf4f8whitesmoke |
| Popover | #ffffffwhite | #040103black |
| Popover foreground | #16040fblack | #faf4f8whitesmoke |
| Primary | #1e0615black | #1e0615black |
| Primary foreground | #e472bcorchid | #e472bcorchid |
| Secondary | #d9d3d7lightgrey | #261c23black |
| Secondary foreground | #41393edarkslategray | #c5afbdsilver |
| Muted | #f0e0eamistyrose | #1f0f19black |
| Muted foreground | #524c50darkslategray | #b3adb1darkgray |
| Accent | #cebac7silver | #3f2737darkslategray |
| Accent foreground | #33242edarkslategray | #d8c0d0thistle |
| Destructive | #691107maroon | #ef2f1aorangered |
| Destructive foreground | #f9b1a9lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #1e0615black | #1e0615black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.84:1 | AAA |
| Text on card | 19.84:1 | AAA |
| Primary button | 6.81:1 | AA |
| Secondary button | 7.60:1 | AAA |
| Muted text | 6.61:1 | AA |
| Accent | 8.03:1 | AAA |
| Destructive | 7.06:1 | AAA |
| Text on background | 19.13:1 | AAA |
| Text on card | 19.13:1 | AAA |
| Primary button | 6.81:1 | AA |
| Secondary button | 8.04:1 | AAA |
| Muted text | 8.34:1 | AAA |
| Accent | 7.94:1 | AAA |
| Destructive | 4.11:1 | AA Large |
Paste this into your globals.css to use Technician in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.147 0.042 341.867);
--muted: oklch(0.923 0.021 338.452);
--muted-foreground: oklch(0.424 0.011 338.5);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.147 0.042 341.867);
--card: oklch(1 0 180);
--card-foreground: oklch(0.147 0.042 341.867);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.172 0.05 343.216);
--primary-foreground: oklch(0.706 0.166 342.521);
--secondary: oklch(0.874 0.008 338.175);
--secondary-foreground: oklch(0.355 0.015 338.846);
--accent: oklch(0.811 0.029 338.703);
--accent-foreground: oklch(0.282 0.028 339.911);
--destructive: oklch(0.339 0.123 30.569);
--destructive-foreground: oklch(0.827 0.085 26.163);
--ring: oklch(0.172 0.05 343.216);
--chart-1: oklch(0.172 0.05 343.216);
--chart-2: oklch(0.874 0.008 338.175);
--chart-3: oklch(0.811 0.029 338.703);
--chart-4: oklch(0.898 0.006 338.134);
--chart-5: oklch(0.172 0.052 343.383);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.085 0.016 338.293);
--foreground: oklch(0.974 0.008 338.158);
--muted: oklch(0.196 0.031 341.026);
--muted-foreground: oklch(0.753 0.009 338.238);
--popover: oklch(0.085 0.016 338.293);
--popover-foreground: oklch(0.974 0.008 338.158);
--card: oklch(0.085 0.016 338.293);
--card-foreground: oklch(0.974 0.008 338.158);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.172 0.05 343.216);
--primary-foreground: oklch(0.706 0.166 342.521);
--secondary: oklch(0.242 0.021 339.674);
--secondary-foreground: oklch(0.778 0.032 338.818);
--accent: oklch(0.309 0.043 340.672);
--accent-foreground: oklch(0.833 0.033 338.799);
--destructive: oklch(0.617 0.228 30.519);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.172 0.05 343.216);
--chart-1: oklch(0.172 0.05 343.216);
--chart-2: oklch(0.242 0.021 339.674);
--chart-3: oklch(0.309 0.043 340.672);
--chart-4: oklch(0.272 0.025 339.773);
--chart-5: oklch(0.172 0.052 343.383);
}