-
-
Notifications
You must be signed in to change notification settings - Fork 820
Adding New Icons as Fonts to the IDE
Dave Haeffner edited this page Jan 20, 2019
·
1 revision
- Visit the IcoMoon App
- Click
Import Icons - Select
selenium-ide.jsonfrompackages/selenium-ide/fontsand clickLoad - Once loaded, all of the project's icons will be listed under a collection called
Untitled Set. Click the hamburger menu icon at the top-right of the collection and selectImport to Set - Choose the SVG files for the new icons you want to add to the project
- Click the hamburger menu icon at the top-right of the collection again and select
Download JSON - Save the file to
packages/selenium-ide/fonts/selenium-ide.json(over-writing the existing file) - On the bottom of the
IcoMoon Appscreen clickGenerate Fontand then clickDownload - Unzip the downloaded file and open up the
fontsfolder - Move
selenium-ide.svgandselenium-ide.ttfintopackages/selenium-ide/src/neo/assets/fonts, overwriting the files of the same name - Go back to the downloaded files and open
style.css - Also open
packages/selenium-ide/src/neo/styles/font.css - Between the two, identify the newly added styles for the icons you just uploaded, and copy the new entries from
style.cssintofont.css - Remove any
colorstyling from these entries and savefont.css - Discard what's left of the downloaded files
- Commit and push your changes to the repo