Researcher is a shadcn/ui theme built around a vivid deep green primary color (#095d09) with vivid deep red accents (#5d0909). The light mode uses a neutral background (#f7fdf7). Dark mode keeps the vivid deep green primary (#095d09) on a green-tinted background (#041004).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdf7mintcream | #041004black |
| Foreground | #000000black | #fcfdfcwhite |
| Card | #f3fcf3honeydew | #061406black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f7fdf7mintcream | #041004black |
| Popover foreground | #000000black | #fcfdfcwhite |
| Primary | #095d09darkgreen | #095d09darkgreen |
| Primary foreground | #a2f6a2palegreen | #a2f6a2palegreen |
| Secondary | #09095dmidnightblue | #09095dmidnightblue |
| Secondary foreground | #a2a2f6lightsteelblue | #a2a2f6lightsteelblue |
| Muted | #e8e8edlavender | #121217black |
| Muted foreground | #3f3f40darkslategray | #bfbfc0silver |
| Accent | #5d0909maroon | #5d0909maroon |
| Accent foreground | #f6a2a2lightpink | #f6a2a2lightpink |
| Destructive | #e24e03orangered | #fb6418orangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #095d09darkgreen | #095d09darkgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.33:1 | AAA |
| Text on card | 20.00:1 | AAA |
| Primary button | 6.26:1 | AA |
| Secondary button | 7.47:1 | AAA |
| Muted text | 8.63:1 | AAA |
| Accent | 7.02:1 | AAA |
| Destructive | 3.94:1 | AA Large |
| Text on background | 19.04:1 | AAA |
| Text on card | 18.93:1 | AAA |
| Primary button | 6.26:1 | AA |
| Secondary button | 7.47:1 | AAA |
| Muted text | 10.15:1 | AAA |
| Accent | 7.02:1 | AAA |
| Destructive | 6.94:1 | AA |
Paste this into your globals.css to use Researcher in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.01 145.498);
--foreground: oklch(0 0 0);
--muted: oklch(0.933 0.006 286.283);
--muted-foreground: oklch(0.369 0.002 286.293);
--popover: oklch(0.988 0.01 145.498);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.981 0.015 145.458);
--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.417 0.136 142.656);
--primary-foreground: oklch(0.899 0.141 144.295);
--secondary: oklch(0.233 0.139 268.55);
--secondary-foreground: oklch(0.744 0.121 283.061);
--accent: oklch(0.308 0.116 27.523);
--accent-foreground: oklch(0.795 0.101 19.55);
--destructive: oklch(0.621 0.196 39.484);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.417 0.136 142.656);
--chart-1: oklch(0.417 0.136 142.656);
--chart-2: oklch(0.233 0.139 268.55);
--chart-3: oklch(0.308 0.116 27.523);
--chart-4: oklch(0.254 0.155 268.02);
--chart-5: oklch(0.422 0.138 142.624);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.156 0.032 143.863);
--foreground: oklch(0.993 0.001 145.567);
--muted: oklch(0.185 0.009 285.478);
--muted-foreground: oklch(0.804 0.002 286.36);
--popover: oklch(0.156 0.032 143.863);
--popover-foreground: oklch(0.993 0.001 145.567);
--card: oklch(0.172 0.037 143.786);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.417 0.136 142.656);
--primary-foreground: oklch(0.899 0.141 144.295);
--secondary: oklch(0.233 0.139 268.55);
--secondary-foreground: oklch(0.744 0.121 283.061);
--accent: oklch(0.308 0.116 27.523);
--accent-foreground: oklch(0.795 0.101 19.55);
--destructive: oklch(0.688 0.2 41.674);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.417 0.136 142.656);
--chart-1: oklch(0.417 0.136 142.656);
--chart-2: oklch(0.233 0.139 268.55);
--chart-3: oklch(0.308 0.116 27.523);
--chart-4: oklch(0.254 0.155 268.02);
--chart-5: oklch(0.422 0.138 142.624);
}