Tami 1 is a shadcn/ui theme built around a near-black primary color (#1d1d1d) with neutral gray accents (#dfdfdf). The light mode uses a neutral background (#ffffff). Dark mode switches to a vivid light yellow primary (#fbf5df) on a neutral background (#0a0a0a).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0a0a0ablack |
| Foreground | #0a0a0ablack | #ffffffwhite |
| Card | #eeeeeewhitesmoke | #242424darkslategray |
| Card foreground | #1d1d1dblack | #ffffffwhite |
| Popover | #ffffffwhite | #0a0a0ablack |
| Popover foreground | #0a0a0ablack | #fafafasnow |
| Primary | #1d1d1dblack | #fbf5dfcornsilk |
| Primary foreground | #fbf5dfcornsilk | #262626darkslategray |
| Secondary | #def771khaki | #def771khaki |
| Secondary foreground | #000000black | #000000black |
| Muted | #f5f5f5whitesmoke | #181818black |
| Muted foreground | #737373dimgray | #a8a8a8darkgray |
| Accent | #dfdfdfgainsboro | #464646darkslategray |
| Accent foreground | #000000black | #ffffffwhite |
| Destructive | #d41a1acrimson | #c63232firebrick |
| Destructive foreground | #fafafasnow | #fafafasnow |
| Border | #dfdfdfgainsboro | #474747darkslategray |
| Input | #dfdfdfgainsboro | #474747darkslategray |
| Ring | #0a0a0ablack | #fbf5dfcornsilk |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.79:1 | AAA |
| Text on card | 14.52:1 | AAA |
| Primary button | 15.43:1 | AAA |
| Secondary button | 17.64:1 | AAA |
| Muted text | 4.35:1 | AA Large |
| Accent | 15.75:1 | AAA |
| Destructive | 5.08:1 | AA |
| Text on background | 19.80:1 | AAA |
| Text on card | 15.52:1 | AAA |
| Primary button | 13.85:1 | AAA |
| Secondary button | 17.64:1 | AAA |
| Muted text | 7.50:1 | AAA |
| Accent | 9.43:1 | AAA |
| Destructive | 5.13:1 | AA |
Paste this into your globals.css to use Tami 1 in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.145 0 180);
--muted: oklch(0.97 0 180);
--muted-foreground: oklch(0.556 0 180);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.145 0 180);
--card: oklch(0.949 0 180);
--card-foreground: oklch(0.231 0 180);
--border: oklch(0.904 0 158.199);
--input: oklch(0.904 0 158.199);
--primary: oklch(0.231 0 180);
--primary-foreground: oklch(0.969 0.03 94.338);
--secondary: oklch(0.931 0.161 118.456);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.904 0 158.199);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.555 0.215 28.053);
--destructive-foreground: oklch(0.985 0 180);
--ring: oklch(0.145 0 180);
--chart-1: oklch(0.571 0.243 289.768);
--chart-2: oklch(0.931 0.161 118.456);
--chart-3: oklch(0.711 0.181 44.628);
--chart-4: oklch(0.674 0.184 9.634);
--chart-5: oklch(0.969 0.03 94.338);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.145 0 180);
--foreground: oklch(1 0 180);
--muted: oklch(0.207 0 167.471);
--muted-foreground: oklch(0.732 0 180);
--popover: oklch(0.145 0 180);
--popover-foreground: oklch(0.985 0 180);
--card: oklch(0.26 0 180);
--card-foreground: oklch(1 0 180);
--border: oklch(0.398 0 170.538);
--input: oklch(0.398 0 170.538);
--primary: oklch(0.969 0.03 94.338);
--primary-foreground: oklch(0.269 0 180);
--secondary: oklch(0.931 0.161 118.456);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.394 0 170.538);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.548 0.185 25.752);
--destructive-foreground: oklch(0.985 0 180);
--ring: oklch(0.969 0.03 94.338);
--chart-1: oklch(0.571 0.243 289.768);
--chart-2: oklch(0.931 0.161 118.456);
--chart-3: oklch(0.711 0.181 44.628);
--chart-4: oklch(0.674 0.184 9.634);
--chart-5: oklch(0.969 0.03 94.338);
}