mglb added a comment.

  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.
  From designer point of view use is really simple - in fill and stroke dock 
click "swatch" type and pick named color from a list.
  
  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.

TASK DETAIL
  https://phabricator.kde.org/T11950

To: ngraham, mglb
Cc: 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

Reply via email to