Investigation is a shadcn/ui theme built around a neutral gray primary color (#716b7b) with neutral gray accents (#796b7b). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#716b7b) on a violet-tinted background (#09050f).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #09050fblack |
| Foreground | #000000black | #fcfcfdwhite |
| Card | #ffffffwhite | #09050fblack |
| Card foreground | #000000black | #fcfcfdwhite |
| Popover | #ffffffwhite | #09050fblack |
| Popover foreground | #000000black | #fcfcfdwhite |
| Primary | #716b7bdimgray | #716b7bdimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #6b6c7bdimgray | #6b6c7bdimgray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #eeeff6whitesmoke | #090911black |
| Muted foreground | #4e5065dimgray | #9a9cb1darkgray |
| Accent | #796b7bgray | #796b7bgray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #ab2007firebrick | #eb2c0aorangered |
| Destructive foreground | #feeae7linen | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #716b7bdimgray | #716b7bdimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 5.14:1 | AA |
| Secondary button | 5.16:1 | AA |
| Muted text | 6.88:1 | AA |
| Accent | 5.00:1 | AA |
| Destructive | 6.15:1 | AA |
| Text on background | 19.65:1 | AAA |
| Text on card | 19.65:1 | AAA |
| Primary button | 5.14:1 | AA |
| Secondary button | 5.16:1 | AA |
| Muted text | 7.32:1 | AAA |
| Accent | 5.00:1 | AA |
| Destructive | 4.29:1 | AA Large |
Paste this into your globals.css to use Investigation in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.954 0.01 281.119);
--muted-foreground: oklch(0.437 0.034 279.901);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.538 0.026 303.657);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.536 0.023 280.577);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.546 0.03 322.844);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.481 0.178 31.852);
--destructive-foreground: oklch(0.952 0.022 29.564);
--ring: oklch(0.538 0.026 303.657);
--chart-1: oklch(0.538 0.026 303.657);
--chart-2: oklch(0.536 0.023 280.577);
--chart-3: oklch(0.546 0.03 322.844);
--chart-4: oklch(0.561 0.024 280.571);
--chart-5: oklch(0.531 0.037 303.345);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.13 0.024 303.845);
--foreground: oklch(0.992 0.001 304.33);
--muted: oklch(0.145 0.016 278.999);
--muted-foreground: oklch(0.699 0.03 280.549);
--popover: oklch(0.13 0.024 303.845);
--popover-foreground: oklch(0.992 0.001 304.33);
--card: oklch(0.13 0.024 303.845);
--card-foreground: oklch(0.992 0.001 304.33);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.538 0.026 303.657);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.536 0.023 280.577);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.546 0.03 322.844);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.606 0.227 31.626);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.538 0.026 303.657);
--chart-1: oklch(0.538 0.026 303.657);
--chart-2: oklch(0.536 0.023 280.577);
--chart-3: oklch(0.546 0.03 322.844);
--chart-4: oklch(0.561 0.024 280.571);
--chart-5: oklch(0.531 0.037 303.345);
}