lmg-anon / mikupad

LLM Frontend in a single html file
https://lmg-anon.github.io/mikupad/mikupad.html
Creative Commons Zero v1.0 Universal
175 stars 24 forks source link

Refactor/SVG Components #79

Closed neCo2 closed 1 month ago

neCo2 commented 1 month ago

I always thought the SVGs were a little uncomfortable to work with given how long their paths can get, so I changed all SVG elements to reusable components. Now they don't clog up every button they're in, and can easily be edited, replaced and reused.

lmg-anon commented 1 month ago

This looks like a great idea, my solution to this problem was to add svgs as consts, but I agree that making them components means more reusability and better organization. Thanks for the contribution!