Dark mode
AXIcons follow your theme automatically through currentColor.
Automatic with currentColor
Every UI icon, brand marks included, paints only with currentColor; the build rejects hard-coded colours. Icons switch with your text colour and need no theme-specific classes.
<nav className="text-zinc-900 dark:text-zinc-100">
<IconHome /> Home
</nav>With theme variables
:root { --icon: #3f3f46; }
[data-theme="dark"] { --icon: #d4d4d8; }
.xi { color: var(--icon); }Static images and READMEs
An <img> cannot inherit colour. On GitHub, show one file per theme with the #gh-dark-mode-only and #gh-light-mode-only URL fragments, or inline the SVG.
Something wrong or missing?Open an issue