<table><tr><td style="">mglb added a comment.
</td></tr></table><br /><div><div><p>Inserting and applying styles can be done with icon template file with predefined swatches. Swatches (which are internally one-stop gradients) would be converted into style later with a script. Not trivial (i.e. not one line sed) to write due to indirect gradient use in inkscape, but also not really hard. Xml parser is the way to go. For extra newbie-friendly solution, "save as monochrome breeze svg" extension could be made.<br />
From designer point of view use is really simple - in fill and stroke dock click "swatch" type and pick named color from a list.</p>

<p>Why breeze icons are "optimized"? As someone pointed out in another task, they are cached as bitmaps, so slightly more complicated XML is not a problem. Optimization creates real problem - sometimes icons after optimizations become hard to edit, so less people want to do modifications.</p></div></div><br /><div><strong>TASK DETAIL</strong><div><a href="https://phabricator.kde.org/T11950">https://phabricator.kde.org/T11950</a></div></div><br /><div><strong>To: </strong>ngraham, mglb<br /><strong>Cc: </strong>mglb, Frameworks, mart, trickyricky26, ndavis, VDG, ngraham, LeGast00n, cblack, konkinartem, ian, jguidon, hannahk, Ghost6, jraleigh, MrPepe, fbampaloukas, squeakypancakes, alexde, IohannesPetros, GB_2, michaelh, crozbo, firef, bruns, skadinna, aaronhoneycutt, mbohlender<br /></div>