Poimandres is a shadcn/ui theme built around a vivid teal primary color (#62f4d2) with vivid cyan accents (#62cdf4). The light mode uses a neutral background (#f6fdfc). Dark mode switches to a teal primary (#5de4c7) on a blue-tinted background (#1b1e28).
| Token | Light | Dark |
|---|---|---|
| Background | #f6fdfcmintcream | #1b1e28black |
| Foreground | #010403black | #a6accdlightsteelblue |
| Card | #f2fcfamintcream | #1b1e28black |
| Card foreground | #000000black | #e4f0fblavender |
| Popover | #f6fdfcmintcream | #1b1e28black |
| Popover foreground | #010403black | #e4f0fblavender |
| Primary | #62f4d2aquamarine | #5de4c7mediumturquoise |
| Primary foreground | #02211ablack | #1b202ddarkslategray |
| Secondary | #62f489lightgreen | #89ddfflightskyblue |
| Secondary foreground | #02210bblack | #1b202ddarkslategray |
| Muted | #c9e8d2lightgrey | #767c9dlightslategray |
| Muted foreground | #57605adimgray | #1b202ddarkslategray |
| Accent | #62cdf4lightskyblue | #303340darkslategray |
| Accent foreground | #021921black | #a6accdlightsteelblue |
| Destructive | #8e2510saddlebrown | #f087bdhotpink |
| Destructive foreground | #fadcd6mistyrose | #e4f0fblavender |
| Border | #dce5e3gainsboro | #303340darkslategray |
| Input | #dce5e3gainsboro | #303340darkslategray |
| Ring | #62f4d2aquamarine | #62f4d2aquamarine |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.02:1 | AAA |
| Text on card | 20.14:1 | AAA |
| Primary button | 12.46:1 | AAA |
| Secondary button | 12.10:1 | AAA |
| Muted text | 4.95:1 | AA |
| Accent | 9.93:1 | AAA |
| Destructive | 6.70:1 | AA |
| Text on background | 7.44:1 | AAA |
| Text on card | 14.37:1 | AAA |
| Primary button | 10.36:1 | AAA |
| Secondary button | 10.72:1 | AAA |
| Muted text | 3.98:1 | AA Large |
| Accent | 5.62:1 | AA |
| Destructive | 2.03:1 | Fail |
Paste this into your globals.css to use Poimandres in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.007 180.746);
--foreground: oklch(0.1 0.013 180.947);
--muted: oklch(0.903 0.044 153.63);
--muted-foreground: oklch(0.48 0.016 153.941);
--popover: oklch(0.989 0.007 180.746);
--popover-foreground: oklch(0.1 0.013 180.947);
--card: oklch(0.984 0.011 180.637);
--card-foreground: oklch(0 0 0);
--border: oklch(0.914 0.01 180.643);
--input: oklch(0.914 0.01 180.643);
--primary: oklch(0.879 0.135 174.883);
--primary-foreground: oklch(0.224 0.04 174.296);
--secondary: oklch(0.863 0.194 149.315);
--secondary-foreground: oklch(0.219 0.057 149.343);
--accent: oklch(0.8 0.113 224.801);
--accent-foreground: oklch(0.2 0.034 224.321);
--destructive: oklch(0.431 0.144 33.022);
--destructive-foreground: oklch(0.918 0.035 31.163);
--ring: oklch(0.879 0.135 174.883);
--chart-1: oklch(0.879 0.135 174.883);
--chart-2: oklch(0.863 0.194 149.315);
--chart-3: oklch(0.8 0.113 224.801);
--chart-4: oklch(0.872 0.179 149.93);
--chart-5: oklch(0.885 0.138 174.684);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.237 0.02 271.785);
--foreground: oklch(0.751 0.048 277.079);
--muted: oklch(0.593 0.051 276.693);
--muted-foreground: oklch(0.245 0.026 268.146);
--popover: oklch(0.237 0.02 271.785);
--popover-foreground: oklch(0.949 0.02 245.648);
--card: oklch(0.237 0.02 271.785);
--card-foreground: oklch(0.949 0.02 245.648);
--border: oklch(0.324 0.023 274.834);
--input: oklch(0.324 0.023 274.834);
--primary: oklch(0.837 0.125 176.452);
--primary-foreground: oklch(0.245 0.026 268.146);
--secondary: oklch(0.856 0.094 225.87);
--secondary-foreground: oklch(0.245 0.026 268.146);
--accent: oklch(0.324 0.023 274.834);
--accent-foreground: oklch(0.751 0.048 277.079);
--destructive: oklch(0.752 0.142 348.912);
--destructive-foreground: oklch(0.949 0.02 245.648);
--ring: oklch(0.879 0.135 174.883);
--chart-1: oklch(0.879 0.135 174.883);
--chart-2: oklch(0.863 0.194 149.315);
--chart-3: oklch(0.8 0.113 224.801);
--chart-4: oklch(0.872 0.179 149.93);
--chart-5: oklch(0.885 0.138 174.684);
}