Hi everyone,

as indicated in https://phabricator.kde.org/D22617#502629, I have created an 
application “breeze-icon-cleaner”, which shall help with creating breeze 
monochrome icons.

If you feel like testing/trying, it is now available at
https://invent.kde.org/davidhurka/breeze-icon-cleaner. It is a simple qmake 
project.

== Description ==
The current workflow involves manual editing of the icon SVG files to add 
the stylesheet and remove clutter. I found that confusing, because it had to 
be repeated every time the icon is edited.

The new application takes the SVG file, collects the graphical elements 
(naturally, only paths are supported), and creates a new SVG file from them.
It has minimal clutter, and the breeze stylesheet is added automatically.

$ breeze-icon-cleaner --sizes 16 --names icon path/to/inputfile.svg

It can also read multiple icons in multiple sizes from one input file, and 
split them.

$ breeze-icon-cleaner --sizes '16 22' --names 'aaa bbb ccc' inputfile.svg

It can also generate a template, so you know where to draw the icons in the 
input file.

$ breeze-icon-cleaner --sizes '16 22' --count 3 template.svg
# draw on file
$ breeze-icon-cleaner --sizes '16 22' --names 'aaa bbb ccc' template.svg
# Outputs these files:
# 16/aaa.svg
# 16/bbb.svg
# 16/ccc.svg
# 22/aaa.svg
# 22/bbb.svg
# 22/ccc.svg

Cheers, David


Reply via email to