Skip to content

How to update icons

Tzahi Levi edited this page Apr 26, 2020 · 2 revisions
  1. enter to this site
  2. import the old icons from @ansyn/ansyn/assets/fonts/AnSyn/AnSyn.svg
  3. import (or drag) the new icons (svg files) to the site.
  4. change the new icons name to one suitable to their purpose. don't use icon prefix (the pencil icon on top enter us to edit mode)
  5. select all icons (click on the 3 line and then select all)
  6. click generate font in preferences change Font name to AnSyn and set class prefix to icon- and then download.
  7. open the zip
  8. copy the content from fonts directory into @ansyn/ansyn/assets/fonts/AnSyn/
  9. from the file styles.css copy only the icon code (the line that start with .icon) and paste it into @ansyn/ansyn/assets/styles/icons.css (actually replace its content)
  10. check that all the icons are ok.