T11950: Reduce the pain of working on monochrome Breeze icons

David Hurka noreply at phabricator.kde.org
Tue Mar 10 23:39:59 GMT 2020


davidhurka added a comment.


  Whoops, this Task went past me //while// I created breeze-icon-cleaner <https://invent.kde.org/davidhurka/breeze-icon-cleaner>. What a pity!
  
  I think with this tool, we can check the remaining four tasks of the TODO in the task description. Sounds optimistic? Well...:
  
  - breeze-icon-cleaner repository has change-to-dark.pl, which converts icons from Breeze to Breeze-Dark. (Easy task...)
  - It doesn’t “optimize” the icons, it creates new ones which //are// optimal. Below is an example, so you can judge yourself.
  - It embeds the stylesheets. It doesn’t even require additional attention while painting the icon in Inkscape, it simply deduces the classes from the colors. Easier than what @mglb suggested...
  - “adjust the text”? If code alignment is meant: see below.
  
    <!DOCTYPE svg>
    <svg version="1.1" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
        <defs>
            <style type="text/css" id="current-color-scheme">
                .ColorScheme-NegativeText {
                    color:#da4453;
                }
            </style>
        </defs>
        <path d="M 3 2 L 3 9 L 5 7 L 7 9 L 7 2 L 3 2 Z M 8 2 L 8 3 L 12 3 L 12 10 L 9 10 L 9 13 L 4 13 L 4 10 L 3 10 L 3 14 L 10 14 L 13 11 L 13 2 L 8 2 Z" class="ColorScheme-NegativeText" style="fill:currentColor; fill-opacity:1; stroke:none"/>
    </svg>
  
  Let me know what you think.
  
  ---
  
  By the way: Nice that someone removed all that 24px icons and wrote a script to generate them. Thanks, @ngraham!

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

To: ngraham, davidhurka
Cc: davidhurka, mglb, #frameworks, mart, trickyricky26, ndavis, #vdg, ngraham, manueljlin, Orage, LeGast00n, cblack, konkinartem, ian, jguidon, Ghost6, jraleigh, MrPepe, fbampaloukas, squeakypancakes, alexde, IohannesPetros, GB_2, michaelh, crozbo, firef, bruns, skadinna, aaronhoneycutt, mbohlender
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200310/9f433028/attachment.html>


More information about the Kde-frameworks-devel mailing list