taxa is a shadcn/ui theme built around a vivid blue primary color (#5470ff) with vivid light indigo accents (#cccfff). The light mode uses a blue-tinted background (#edf0ff). Dark mode keeps the vivid blue primary (#5471ff) on a blue-tinted background (#191d29).
| Token | Light | Dark |
|---|---|---|
| Background | #edf0ffaliceblue | #191d29black |
| Foreground | #404878darkslateblue | #d1d7fclavender |
| Card | #ebeefflavender | #191d29black |
| Card foreground | #404878darkslateblue | #bcc1delightsteelblue |
| Popover | #ebeefflavender | #161a25black |
| Popover foreground | #1f212edarkslategray | #ffffffwhite |
| Primary | #5470ffroyalblue | #5471ffroyalblue |
| Primary foreground | #e0e5fflavender | #ffffffwhite |
| Secondary | #d6dcfflavender | #374059darkslategray |
| Secondary foreground | #515a8fdarkslateblue | #afb5c5silver |
| Muted | #dde3fflavender | #232939darkslategray |
| Muted foreground | #7f87aclightslategray | #5e6a89slategray |
| Accent | #cccffflavender | #272d40darkslategray |
| Accent foreground | #626697slategray | #a3abc4darkgray |
| Destructive | #fd4d4dtomato | #ab2810firebrick |
| Destructive foreground | #fcf5f5lavenderblush | #ffffffwhite |
| Border | #cdd2eegainsboro | #252b39darkslategray |
| Input | #c9cee6lightgrey | #293143darkslategray |
| Ring | #5470ffroyalblue | #a7adcdlightsteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 7.66:1 | AAA |
| Text on card | 7.54:1 | AAA |
| Primary button | 3.26:1 | AA Large |
| Secondary button | 4.85:1 | AA |
| Muted text | 2.77:1 | Fail |
| Accent | 3.61:1 | AA Large |
| Destructive | 3.08:1 | AA Large |
| Text on background | 11.87:1 | AAA |
| Text on card | 9.42:1 | AAA |
| Primary button | 4.06:1 | AA Large |
| Secondary button | 5.03:1 | AA |
| Muted text | 2.69:1 | Fail |
| Accent | 5.99:1 | AA |
| Destructive | 6.93:1 | AA |
Paste this into your globals.css to use taxa in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.957 0.02 276.96);
--foreground: oklch(0.418 0.081 275.191);
--muted: oklch(0.92 0.039 276.646);
--muted-foreground: oklch(0.63 0.056 275.681);
--popover: oklch(0.952 0.023 277.957);
--popover-foreground: oklch(0.252 0.024 275.715);
--card: oklch(0.952 0.023 276.918);
--card-foreground: oklch(0.418 0.08 275.097);
--border: oklch(0.87 0.039 276.599);
--input: oklch(0.856 0.034 276.056);
--primary: oklch(0.606 0.213 270.22);
--primary-foreground: oklch(0.926 0.036 276.694);
--secondary: oklch(0.901 0.048 276.652);
--secondary-foreground: oklch(0.484 0.086 275.324);
--accent: oklch(0.869 0.066 281.264);
--accent-foreground: oklch(0.527 0.077 279.815);
--destructive: oklch(0.669 0.213 25.022);
--destructive-foreground: oklch(0.977 0.007 17.278);
--ring: oklch(0.605 0.214 270.336);
--chart-1: oklch(0.677 0.157 35.19);
--chart-2: oklch(0.631 0.101 183.491);
--chart-3: oklch(0.379 0.044 225.539);
--chart-4: oklch(0.834 0.119 88.146);
--chart-5: oklch(0.783 0.126 58.749);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.232 0.024 270.171);
--foreground: oklch(0.887 0.051 277.419);
--muted: oklch(0.282 0.031 270.094);
--muted-foreground: oklch(0.526 0.052 268.616);
--popover: oklch(0.218 0.023 270.114);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.234 0.024 270.209);
--card-foreground: oklch(0.815 0.041 277.538);
--border: oklch(0.289 0.027 267.073);
--input: oklch(0.313 0.034 266.814);
--primary: oklch(0.606 0.213 270.184);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.374 0.045 269.907);
--secondary-foreground: oklch(0.772 0.024 269.987);
--accent: oklch(0.299 0.036 269.951);
--accent-foreground: oklch(0.743 0.037 270.41);
--destructive: oklch(0.486 0.171 32.204);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.753 0.047 277.322);
--chart-1: oklch(0.529 0.193 262.129);
--chart-2: oklch(0.698 0.134 165.463);
--chart-3: oklch(0.723 0.15 60.631);
--chart-4: oklch(0.619 0.204 312.728);
--chart-5: oklch(0.612 0.209 6.386);
}