A minimal Python CLI tool that takes raw SVG text or files, removes only `fill="none"`, `stroke="none"`, `opacity="0"`, `visibility="hidden"`, and `display="none"` *when they appear on non-semantic grouping elements*, and preserves all styling, transforms, and accessibility attributes. r/MotionDesign | QUOTE: "My Lottie-to-SVG workflow keeps failing because the exported SVG has 42 `<g>` tags with `opacity="0"` and `visibility="hidden"` — they don’t show, but they *do* trigger layout thrashing in GSAP timelines. I’ve written a regex macro, but it breaks if the designer uses `display:none` instead."
View Source →