Skip to main content

LUCIDE_DEFAULT_STROKE_PX

Constant LUCIDE_DEFAULT_STROKE_PX 

pub const LUCIDE_DEFAULT_STROKE_PX: f64 = 1.5; // 1.5f64
Expand description

Lucide’s default stroke width (in viewBox units) — 2.0 maps to 1.5 px after the concept’s Tailwind tweaks, so we scale by 0.75 when translating viewBox stroke width to output pixels. Call sites can still override via the stroke_px argument of draw_icon.