Suspicious is a shadcn/ui theme built around a near-black primary color (#020408) with near-black accents (#080602). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the near-black primary (#020408) on a blue-tinted background (#04070b).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfewhite | #04070bblack |
| Foreground | #02060dblack | #f9fafbghostwhite |
| Card | #f6f9fdghostwhite | #05090fblack |
| Card foreground | #010409black | #fcfcfdwhite |
| Popover | #f6f9fdghostwhite | #05090fblack |
| Popover foreground | #010409black | #fcfcfdwhite |
| Primary | #020408black | #020408black |
| Primary foreground | #6492d8cornflowerblue | #6492d8cornflowerblue |
| Secondary | #080602black | #080602black |
| Secondary foreground | #d8aa64sandybrown | #d8aa64sandybrown |
| Muted | #ece7dfantiquewhite | #201b13black |
| Muted foreground | #474747darkslategray | #b8b8b8silver |
| Accent | #080602black | #080602black |
| Accent foreground | #d8aa64sandybrown | #d8aa64sandybrown |
| Destructive | #9c4211saddlebrown | #ea7d43coral |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #020408black | #020408black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.77:1 | AAA |
| Text on card | 19.49:1 | AAA |
| Primary button | 6.47:1 | AA |
| Secondary button | 9.50:1 | AAA |
| Muted text | 7.53:1 | AAA |
| Accent | 9.50:1 | AAA |
| Destructive | 6.56:1 | AA |
| Text on background | 19.31:1 | AAA |
| Text on card | 19.43:1 | AAA |
| Primary button | 6.47:1 | AA |
| Secondary button | 9.50:1 | AAA |
| Muted text | 8.64:1 | AAA |
| Accent | 9.50:1 | AAA |
| Destructive | 7.53:1 | AAA |
Paste this into your globals.css to use Suspicious in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 258.321);
--foreground: oklch(0.122 0.021 247.747);
--muted: oklch(0.929 0.012 78.27);
--muted-foreground: oklch(0.399 0 180);
--popover: oklch(0.982 0.006 258.329);
--popover-foreground: oklch(0.106 0.018 246.742);
--card: oklch(0.982 0.006 258.329);
--card-foreground: oklch(0.106 0.018 246.742);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.108 0.014 249.485);
--primary-foreground: oklch(0.658 0.116 258.275);
--secondary: oklch(0.122 0.015 85.641);
--secondary-foreground: oklch(0.765 0.103 76.329);
--accent: oklch(0.122 0.015 85.641);
--accent-foreground: oklch(0.765 0.103 76.329);
--destructive: oklch(0.492 0.133 44.097);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.108 0.014 249.485);
--chart-1: oklch(0.108 0.014 249.485);
--chart-2: oklch(0.122 0.015 85.641);
--chart-3: oklch(0.122 0.015 85.641);
--chart-4: oklch(0.17 0.022 79.201);
--chart-5: oklch(0.108 0.015 248.986);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.126 0.013 251.782);
--foreground: oklch(0.984 0.001 258.315);
--muted: oklch(0.225 0.016 77.795);
--muted-foreground: oklch(0.781 0 180);
--popover: oklch(0.139 0.015 254.108);
--popover-foreground: oklch(0.992 0.001 258.314);
--card: oklch(0.139 0.015 254.108);
--card-foreground: oklch(0.992 0.001 258.314);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.108 0.014 249.485);
--primary-foreground: oklch(0.658 0.116 258.275);
--secondary: oklch(0.122 0.015 85.641);
--secondary-foreground: oklch(0.765 0.103 76.329);
--accent: oklch(0.122 0.015 85.641);
--accent-foreground: oklch(0.765 0.103 76.329);
--destructive: oklch(0.703 0.152 46.97);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.108 0.014 249.485);
--chart-1: oklch(0.108 0.014 249.485);
--chart-2: oklch(0.122 0.015 85.641);
--chart-3: oklch(0.122 0.015 85.641);
--chart-4: oklch(0.17 0.022 79.201);
--chart-5: oklch(0.108 0.015 248.986);
}