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]>
4 lines
319 B
XML
4 lines
319 B
XML
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg">
|
|
<path d="M12 7v14M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z"/>
|
|
</svg>
|