Investigation is a shadcn/ui theme built around a near-white primary color (#fef6f9) with near-white accents (#f6f9fe). The light mode uses a neutral background (#fefbfc). Dark mode keeps the near-white primary (#fef6f9) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfcsnow | #000000black |
| Foreground | #15050ablack | #f9f5f7whitesmoke |
| Card | #fdf7f9snow | #030303black |
| Card foreground | #110408black | #fbf8f9snow |
| Popover | #fdf7f9snow | #030303black |
| Popover foreground | #110408black | #fbf8f9snow |
| Primary | #fef6f9snow | #fef6f9snow |
| Primary foreground | #b40e48crimson | #b40e48crimson |
| Secondary | #f9fef6mintcream | #f9fef6mintcream |
| Secondary foreground | #225506darkgreen | #225506darkgreen |
| Muted | #e2e7dfgainsboro | #1b2018black |
| Muted foreground | #565954dimgray | #a8aba6darkgray |
| Accent | #f6f9feghostwhite | #f6f9feghostwhite |
| Accent foreground | #0e48b4darkslateblue | #0e48b4darkslateblue |
| Destructive | #630d09maroon | #ec3127crimson |
| Destructive foreground | #f7aaa6lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fef6f9snow | #fef6f9snow |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.29:1 | AAA |
| Text on card | 18.98:1 | AAA |
| Primary button | 6.36:1 | AA |
| Secondary button | 8.67:1 | AAA |
| Muted text | 5.66:1 | AA |
| Accent | 7.61:1 | AAA |
| Destructive | 7.09:1 | AAA |
| Text on background | 19.43:1 | AAA |
| Text on card | 19.59:1 | AAA |
| Primary button | 6.36:1 | AA |
| Secondary button | 8.67:1 | AAA |
| Muted text | 7.12:1 | AAA |
| Accent | 7.61:1 | AAA |
| Destructive | 4.16:1 | AA Large |
Paste this into your globals.css to use Investigation in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 353.675);
--foreground: oklch(0.146 0.033 357.2);
--muted: oklch(0.922 0.013 134.297);
--muted-foreground: oklch(0.46 0.009 134.334);
--popover: oklch(0.981 0.007 353.779);
--popover-foreground: oklch(0.133 0.029 355.16);
--card: oklch(0.981 0.007 353.779);
--card-foreground: oklch(0.133 0.029 355.16);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.979 0.01 353.873);
--primary-foreground: oklch(0.497 0.192 10.363);
--secondary: oklch(0.991 0.013 134.293);
--secondary-foreground: oklch(0.4 0.118 137.869);
--accent: oklch(0.98 0.008 263.038);
--accent-foreground: oklch(0.441 0.181 261.656);
--destructive: oklch(0.323 0.119 28.914);
--destructive-foreground: oklch(0.811 0.092 22.632);
--ring: oklch(0.979 0.01 353.873);
--chart-1: oklch(0.979 0.01 353.873);
--chart-2: oklch(0.991 0.013 134.293);
--chart-3: oklch(0.98 0.008 263.038);
--chart-4: oklch(1.004 0.006 314.184);
--chart-5: oklch(0.979 0.011 353.883);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.974 0.005 353.721);
--muted: oklch(0.236 0.018 134.663);
--muted-foreground: oklch(0.737 0.008 134.283);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.983 0.003 353.671);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.983 0.003 353.671);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.979 0.01 353.873);
--primary-foreground: oklch(0.497 0.192 10.363);
--secondary: oklch(0.991 0.013 134.293);
--secondary-foreground: oklch(0.4 0.118 137.869);
--accent: oklch(0.98 0.008 263.038);
--accent-foreground: oklch(0.441 0.181 261.656);
--destructive: oklch(0.613 0.223 28.767);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.979 0.01 353.873);
--chart-1: oklch(0.979 0.01 353.873);
--chart-2: oklch(0.991 0.013 134.293);
--chart-3: oklch(0.98 0.008 263.038);
--chart-4: oklch(1.004 0.006 314.184);
--chart-5: oklch(0.979 0.011 353.883);
}