BeckyEbook beat me to it and her reply is better!
You are talking about a custom IconTheme not a custom toolbar (I think).
If you look at our IconTheme repo you will see each theme has its own folder (ie. fluent, material, main, etc.
Inside each folder is a set of svg files whose names are important (and can not be changed as Sigil looks for those file names) and a file that ends in .qrc (ie. fluent.qrc, material.qrc,etc).
That qrc file gives the filename and path to every file in the icon theme.
If you have Qt installed it will come with a command line tool called "rcc.exe".
So to create your iwn icons, start by copying one of those folders, give the folder and the .qrc file a new name. Edit the contents of each svg file to your heart is content but do not add height and width to them as they should be freely rescalable svg.
Once you are happy with each svg file run the rcc.exe executable as shown in the IconThemes read me and point it at your new folder's .qrc file.
It will compile the resources into a binary file which you can copy to your Sigil Preferences folder and rename it as described in that ReadMe. Then once properly named and placed, open Sigil and use its preferences menu to tell it to use a custom icon theme and then close out of Sigil and relaunch.
They should appear in place of the normal Sigil icons.
|