Debian Codegraph @

src/panel/README.md

raw symbols SCIP
1 ## Panel Icons Source
2
3 - To add or modify the panel icons, edit source SVG file found in this directory
4 - For simplified development, has various scripts to extract or render icons from the larger SVG source files.
5 - To edit the icons you will need `inkscape` and you'll need `ruby` installed to run the render script.
6
7 **[light](./light) & [dark](./dark) - the folders that contains all of the panel icon sources**
8 - each layer of the source files corresponds to a icon `context` and the icons are sorted accordingly
9 - each icon should be drawn within an square corresponding to the panel icon szie and use only 1 colour
10 - when complete, group all element of an icon within a rectangle of the panel icon size (with no fill or stroke) and label that group with the `icon-name`
11
12 **[extract-panel-icons.rb](./extract-panel-icons.rb) - the render script**
13 - extract any new panel icons from the source SVG by passing the icon name to this script: `./extract-panel-icons.rb <icon-name>`
14 - or, if run generally, this script will look through the entire source file to render any new icons (if a new icon does not have a correct label the script will fail)