-
-
Notifications
You must be signed in to change notification settings - Fork 769
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.json
frompackages/selenium-ide/fonts
and 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 App
screen clickGenerate Font
and then clickDownload
- Unzip the downloaded file and open up the
fonts
folder - Move
selenium-ide.svg
andselenium-ide.ttf
intopackages/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.css
intofont.css
- Remove any
color
styling from these entries and savefont.css
- Discard what's left of the downloaded files
- Commit and push your changes to the repo