Tanzine Eel is a shadcn/ui theme built around a blue primary color (#7f88d7) with yellow accents (#d7ce7f). The light mode uses a neutral background (#f7f8fd). Dark mode keeps the blue primary (#7f88d7) on a blue-tinted background (#050610).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f8fdghostwhite | #050610black |
| Foreground | #020308black | #f5f5fawhitesmoke |
| Card | #f7f8fdghostwhite | #050610black |
| Card foreground | #020308black | #f5f5fawhitesmoke |
| Popover | #f7f8fdghostwhite | #050610black |
| Popover foreground | #020308black | #f5f5fawhitesmoke |
| Primary | #7f88d7mediumpurple | #7f88d7mediumpurple |
| Primary foreground | #000000black | #000000black |
| Secondary | #d7ce7fburlywood | #d7ce7fburlywood |
| Secondary foreground | #1b1909black | #1b1909black |
| Muted | #e5e2cdgainsboro | #32301adarkslategray |
| Muted foreground | #63625fdimgray | #a0a09cdarkgray |
| Accent | #d7ce7fburlywood | #d7ce7fburlywood |
| Accent foreground | #1b1909black | #1b1909black |
| Destructive | #b81a14firebrick | #e93b35crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e5eblavender | #1d1d26black |
| Input | #e5e5eblavender | #1d1d26black |
| Ring | #7f88d7mediumpurple | #7f88d7mediumpurple |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.37:1 | AAA |
| Text on card | 19.37:1 | AAA |
| Primary button | 6.39:1 | AA |
| Secondary button | 10.92:1 | AAA |
| Muted text | 4.67:1 | AA |
| Accent | 10.92:1 | AAA |
| Destructive | 6.59:1 | AA |
| Text on background | 18.61:1 | AAA |
| Text on card | 18.61:1 | AAA |
| Primary button | 6.39:1 | AA |
| Secondary button | 10.92:1 | AAA |
| Muted text | 5.09:1 | AA |
| Accent | 10.92:1 | AAA |
| Destructive | 4.09:1 | AA Large |
Paste this into your globals.css to use Tanzine Eel in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.979 0.007 281.172);
--foreground: oklch(0.096 0.021 274.098);
--muted: oklch(0.91 0.029 101.767);
--muted-foreground: oklch(0.497 0.005 101.46);
--popover: oklch(0.979 0.007 281.172);
--popover-foreground: oklch(0.096 0.021 274.098);
--card: oklch(0.979 0.007 281.172);
--card-foreground: oklch(0.096 0.021 274.098);
--border: oklch(0.925 0.008 281.15);
--input: oklch(0.925 0.008 281.15);
--primary: oklch(0.652 0.118 277.785);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.841 0.1 102.805);
--secondary-foreground: oklch(0.212 0.029 102.957);
--accent: oklch(0.841 0.1 102.805);
--accent-foreground: oklch(0.212 0.029 102.957);
--destructive: oklch(0.501 0.191 28.751);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.652 0.118 277.785);
--chart-1: oklch(0.652 0.118 277.785);
--chart-2: oklch(0.841 0.1 102.805);
--chart-3: oklch(0.841 0.1 102.805);
--chart-4: oklch(0.855 0.092 102.703);
--chart-5: oklch(0.648 0.124 277.515);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.024 275.68);
--foreground: oklch(0.972 0.006 281.186);
--muted: oklch(0.304 0.035 102.774);
--muted-foreground: oklch(0.704 0.005 101.4);
--popover: oklch(0.125 0.024 275.68);
--popover-foreground: oklch(0.972 0.006 281.186);
--card: oklch(0.125 0.024 275.68);
--card-foreground: oklch(0.972 0.006 281.186);
--border: oklch(0.235 0.016 280.099);
--input: oklch(0.235 0.016 280.099);
--primary: oklch(0.652 0.118 277.785);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.841 0.1 102.805);
--secondary-foreground: oklch(0.212 0.029 102.957);
--accent: oklch(0.841 0.1 102.805);
--accent-foreground: oklch(0.212 0.029 102.957);
--destructive: oklch(0.616 0.211 27.444);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.652 0.118 277.785);
--chart-1: oklch(0.652 0.118 277.785);
--chart-2: oklch(0.841 0.1 102.805);
--chart-3: oklch(0.841 0.1 102.805);
--chart-4: oklch(0.855 0.092 102.703);
--chart-5: oklch(0.648 0.124 277.515);
}