Research is a shadcn/ui theme built around a vivid deep teal primary color (#09583b) with vivid deep orange accents (#583b09). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep teal primary (#09583b) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #030806black | #f4faf8mintcream |
| Card | #ffffffwhite | #000000black |
| Card foreground | #030806black | #f4faf8mintcream |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #030806black | #f4faf8mintcream |
| Primary | #09583bdarkslategray | #09583bdarkslategray |
| Primary foreground | #9ef5d5paleturquoise | #9ef5d5paleturquoise |
| Secondary | #3b0958midnightblue | #3b0958midnightblue |
| Secondary foreground | #d59ef5plum | #d59ef5plum |
| Muted | #ded1e6gainsboro | #26192edarkslategray |
| Muted foreground | #564d5bdimgray | #ada4b2darkgray |
| Accent | #583b09saddlebrown | #583b09saddlebrown |
| Accent foreground | #f5d59enavajowhite | #f5d59enavajowhite |
| Destructive | #b3220ffirebrick | #ee412borangered |
| Destructive foreground | #fef7f6snow | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #09583bdarkslategray | #09583bdarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.16:1 | AAA |
| Text on card | 20.16:1 | AAA |
| Primary button | 6.65:1 | AA |
| Secondary button | 7.35:1 | AAA |
| Muted text | 5.50:1 | AA |
| Accent | 7.27:1 | AAA |
| Destructive | 6.28:1 | AA |
| Text on background | 19.87:1 | AAA |
| Text on card | 19.87:1 | AAA |
| Primary button | 6.65:1 | AA |
| Secondary button | 7.35:1 | AAA |
| Muted text | 6.89:1 | AA |
| Accent | 7.27:1 | AAA |
| Destructive | 3.86:1 | AA Large |
Paste this into your globals.css to use Research in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.123 0.014 172.813);
--muted: oklch(0.877 0.031 313.386);
--muted-foreground: oklch(0.435 0.024 313.263);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.123 0.014 172.813);
--card: oklch(1 0 180);
--card-foreground: oklch(0.123 0.014 172.813);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.409 0.086 161.685);
--primary-foreground: oklch(0.907 0.096 168.953);
--secondary: oklch(0.281 0.13 308.361);
--secondary-foreground: oklch(0.781 0.134 312.507);
--accent: oklch(0.377 0.074 75.144);
--accent-foreground: oklch(0.888 0.08 80.98);
--destructive: oklch(0.497 0.183 31.001);
--destructive-foreground: oklch(0.981 0.008 26.497);
--ring: oklch(0.409 0.086 161.685);
--chart-1: oklch(0.409 0.086 161.685);
--chart-2: oklch(0.281 0.13 308.361);
--chart-3: oklch(0.377 0.074 75.144);
--chart-4: oklch(0.309 0.145 308.086);
--chart-5: oklch(0.413 0.089 161.342);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.981 0.007 172.364);
--muted: oklch(0.241 0.042 312.479);
--muted-foreground: oklch(0.73 0.021 313.426);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.981 0.007 172.364);
--card: oklch(0 0 0);
--card-foreground: oklch(0.981 0.007 172.364);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.409 0.086 161.685);
--primary-foreground: oklch(0.907 0.096 168.953);
--secondary: oklch(0.281 0.13 308.361);
--secondary-foreground: oklch(0.781 0.134 312.507);
--accent: oklch(0.377 0.074 75.144);
--accent-foreground: oklch(0.888 0.08 80.98);
--destructive: oklch(0.63 0.212 30.959);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.409 0.086 161.685);
--chart-1: oklch(0.409 0.086 161.685);
--chart-2: oklch(0.281 0.13 308.361);
--chart-3: oklch(0.377 0.074 75.144);
--chart-4: oklch(0.309 0.145 308.086);
--chart-5: oklch(0.413 0.089 161.342);
}