We needed customizable SVG icons for a booking app. Somehow, we built an editor.
Over a year ago, while building a booking app for beauty specialists (nails, hair, makeup, massage), we ran into a seemingly minor problem. Each specialist could customize their booking page with different themes — pastel, light, dark, custom brand colors — all driven by CSS variables. We only had a dozen or two multicolor SVG icons. Nothing complicated. But I was too lazy to dig through SVG…
A year ago, while developing a booking app for beauty professionals such as nail technicians, hair stylists, makeup artists, and massage therapists, the team encountered a seemingly minor issue. The app allowed each specialist to customize their booking page with various themes like pastel, light, dark, or custom brand colors, all driven by CSS variables.
They only had a dozen or so multicolor SVG icons, nothing too intricate. However, the team found it too tedious to manually examine SVG internals, so they quickly created a tiny CLI package to generate sprites and map fill colors to CSS variables. They shared their success, but the verdict was mixed: it was merely "AI slop." Despite this, the package remained on npm for about a year until the developer revisited it out of boredom.
After updating dependencies, fixing issues, and cleaning up the code, the developer experimented with fill animations. This led to the creation of an editor, actually two editors in fact. Alongside live palette switching, timeline-based fill animations, a browser API, and initial WebMCP experiments, the project began to evolve beyond its original purpose.
The tiny-isprite.com editor can be found at https://tiny-isprite.com/editor/. The official website and documentation are available at https://tiny-isprite.com/, while the GitHub repository is located at https://github.com/Dynation/tiny-isprite. The developer expressed curiosity about the problems other developers face when working with SVGs, sprites, and animations and invited brutally honest feedback, labeled with "__" if it's purely negative.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to