Teeming is a shadcn/ui theme built around a vivid deep purple primary color (#350334) with vivid deep green accents (#033504). The light mode uses a neutral background (#fdf7fd). Dark mode keeps the vivid deep purple primary (#350334) on a purple-tinted background (#0f050f).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7fdsnow | #0f050fblack |
| Foreground | #000000black | #fbf9fbsnow |
| Card | #fdf7fdsnow | #0f050fblack |
| Card foreground | #000000black | #fbf9fbsnow |
| Popover | #fdf7fdsnow | #0f050fblack |
| Popover foreground | #000000black | #fbf9fbsnow |
| Primary | #350334midnightblue | #350334midnightblue |
| Primary foreground | #f872f5violet | #f872f5violet |
| Secondary | #033504darkgreen | #033504darkgreen |
| Secondary foreground | #12f315lime | #12f315lime |
| Muted | #ebf4ebhoneydew | #0b140bblack |
| Muted foreground | #4e504edarkslategray | #afb1afdarkgray |
| Accent | #033504darkgreen | #033504darkgreen |
| Accent foreground | #12f315lime | #12f315lime |
| Destructive | #d13400orangered | #ff4f14orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #350334midnightblue | #350334midnightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.89:1 | AAA |
| Text on card | 19.89:1 | AAA |
| Primary button | 7.17:1 | AAA |
| Secondary button | 9.11:1 | AAA |
| Muted text | 7.24:1 | AAA |
| Accent | 9.11:1 | AAA |
| Destructive | 4.98:1 | AA |
| Text on background | 19.09:1 | AAA |
| Text on card | 19.09:1 | AAA |
| Primary button | 7.17:1 | AAA |
| Secondary button | 9.11:1 | AAA |
| Muted text | 8.71:1 | AAA |
| Accent | 9.11:1 | AAA |
| Destructive | 3.29:1 | AA Large |
Paste this into your globals.css to use Teeming in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.009 326.131);
--foreground: oklch(0 0 0);
--muted: oklch(0.958 0.015 145.927);
--muted-foreground: oklch(0.429 0.003 145.992);
--popover: oklch(0.982 0.009 326.131);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.982 0.009 326.131);
--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.234 0.101 328.978);
--primary-foreground: oklch(0.757 0.222 328.133);
--secondary: oklch(0.287 0.093 142.916);
--secondary-foreground: oklch(0.835 0.28 142.615);
--accent: oklch(0.287 0.093 142.916);
--accent-foreground: oklch(0.835 0.28 142.615);
--destructive: oklch(0.566 0.199 34.851);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.234 0.101 328.978);
--chart-1: oklch(0.234 0.101 328.978);
--chart-2: oklch(0.287 0.093 142.916);
--chart-3: oklch(0.287 0.093 142.916);
--chart-4: oklch(0.336 0.109 142.831);
--chart-5: oklch(0.236 0.104 329.027);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.03 327.584);
--foreground: oklch(0.984 0.003 326.075);
--muted: oklch(0.178 0.022 144.971);
--muted-foreground: oklch(0.758 0.003 146.024);
--popover: oklch(0.139 0.03 327.584);
--popover-foreground: oklch(0.984 0.003 326.075);
--card: oklch(0.139 0.03 327.584);
--card-foreground: oklch(0.984 0.003 326.075);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.234 0.101 328.978);
--primary-foreground: oklch(0.757 0.222 328.133);
--secondary: oklch(0.287 0.093 142.916);
--secondary-foreground: oklch(0.835 0.28 142.615);
--accent: oklch(0.287 0.093 142.916);
--accent-foreground: oklch(0.835 0.28 142.615);
--destructive: oklch(0.67 0.221 36.163);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.234 0.101 328.978);
--chart-1: oklch(0.234 0.101 328.978);
--chart-2: oklch(0.287 0.093 142.916);
--chart-3: oklch(0.287 0.093 142.916);
--chart-4: oklch(0.336 0.109 142.831);
--chart-5: oklch(0.236 0.104 329.027);
}