mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
The explorer drew its own 211-file icon set. On one screen that meant a wireframe isometric cube for "Total blocks", a solid filled bolt for staking rewards, a fuel pump with a filled square inside it, a boxed "i" for every tooltip and a multi-colour duotone pie chart — outline, filled and duotone all at once, none of it the set @luxfi/ui renders next to it. There is one Lux icon set now: Lucide, exactly the geometry @hanzo/gui standardises on in @hanzogui/lucide-icons-2. tools/icons/from-lucide.mjs reads that package and writes the 133 UI glyphs out as plain SVG, so ./icons is a build artifact of the standard set instead of a second hand-drawn one. The sprite build and every IconSvg call site are untouched — 207 files, zero churn — and the geometry is byte-identical to what lucide-react 1.27 renders in the other Lux surfaces. Brand marks (brands/, social/, wallets/), chain and token art (coins/, tokens/, networks/), the error-page illustrations and the Lux domain marks (ABI, ENS, MUD, RPC, merits) are logos, not UI glyphs, and are deliberately left alone. Every glyph is 24x24, 2px, round-capped and stroked in currentColor, so the whole set is monochrome by construction and takes the colour of the text beside it. Filled/outline pairs collapse the only way Lucide allows: heart and star fill their own outline, info does not (the disc would bury the "i"). Co-authored-by: Hanzo Dev <[email protected]>
341 B
341 B