Psychologist is a shadcn/ui theme built around a vivid yellow primary color (#eed168) with vivid green accents (#c8ee68). The light mode uses a neutral background (#fdfcf7). Dark mode keeps the vivid yellow primary (#eed168) on a yellow-tinted background (#0f0d05).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcf7snow | #0f0d05black |
| Foreground | #0d0b02black | #ffffffwhite |
| Card | #fdfcf7snow | #0f0d05black |
| Card foreground | #0d0b02black | #ffffffwhite |
| Popover | #fdfcf7snow | #0f0d05black |
| Popover foreground | #0d0b02black | #ffffffwhite |
| Primary | #eed168khaki | #eed168khaki |
| Primary foreground | #201a04black | #201a04black |
| Secondary | #ee8e68darksalmon | #ee8e68darksalmon |
| Secondary foreground | #200c04black | #200c04black |
| Muted | #f2ebe8linen | #17100dblack |
| Muted foreground | #59524fdimgray | #b0a9a6darkgray |
| Accent | #c8ee68khaki | #c8ee68khaki |
| Accent foreground | #182004black | #182004black |
| Destructive | #d6250afirebrick | #f42f10orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #eed168khaki | #eed168khaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.14:1 | AAA |
| Text on card | 19.14:1 | AAA |
| Primary button | 11.52:1 | AAA |
| Secondary button | 7.78:1 | AAA |
| Muted text | 6.49:1 | AA |
| Accent | 12.75:1 | AAA |
| Destructive | 5.07:1 | AA |
| Text on background | 19.44:1 | AAA |
| Text on card | 19.44:1 | AAA |
| Primary button | 11.52:1 | AAA |
| Secondary button | 7.78:1 | AAA |
| Muted text | 8.14:1 | AAA |
| Accent | 12.75:1 | AAA |
| Destructive | 4.00:1 | AA Large |
Paste this into your globals.css to use Psychologist in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.007 93.939);
--foreground: oklch(0.147 0.022 98.244);
--muted: oklch(0.945 0.009 43.044);
--muted-foreground: oklch(0.445 0.011 42.929);
--popover: oklch(0.99 0.007 93.939);
--popover-foreground: oklch(0.147 0.022 98.244);
--card: oklch(0.99 0.007 93.939);
--card-foreground: oklch(0.147 0.022 98.244);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.865 0.129 94.084);
--primary-foreground: oklch(0.219 0.039 94.481);
--secondary: oklch(0.74 0.129 42.073);
--secondary-foreground: oklch(0.183 0.04 45.261);
--accent: oklch(0.896 0.167 123.028);
--accent-foreground: oklch(0.228 0.05 123.354);
--destructive: oklch(0.565 0.213 31.253);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.865 0.129 94.084);
--chart-1: oklch(0.865 0.129 94.084);
--chart-2: oklch(0.74 0.129 42.073);
--chart-3: oklch(0.896 0.167 123.028);
--chart-4: oklch(0.761 0.116 42.235);
--chart-5: oklch(0.87 0.133 94.015);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.159 0.017 95.883);
--foreground: oklch(1 0 180);
--muted: oklch(0.18 0.014 42.618);
--muted-foreground: oklch(0.739 0.009 43.018);
--popover: oklch(0.159 0.017 95.883);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.159 0.017 95.883);
--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.865 0.129 94.084);
--primary-foreground: oklch(0.219 0.039 94.481);
--secondary: oklch(0.74 0.129 42.073);
--secondary-foreground: oklch(0.183 0.04 45.261);
--accent: oklch(0.896 0.167 123.028);
--accent-foreground: oklch(0.228 0.05 123.354);
--destructive: oklch(0.624 0.233 31.348);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.865 0.129 94.084);
--chart-1: oklch(0.865 0.129 94.084);
--chart-2: oklch(0.74 0.129 42.073);
--chart-3: oklch(0.896 0.167 123.028);
--chart-4: oklch(0.761 0.116 42.235);
--chart-5: oklch(0.87 0.133 94.015);
}