These notes are a quick reminder to myself about how to install and how to update an Icomoon font pack.
https://icomoon.io/app/#/select
-
Download and extract zip form Icomoon.
-
Copy the
icomoon
directory into the FoundationPress assets directory. (src/assets/
). You can replace an existing directory if you are updating. -
Open terminal and navigate to the FoundationPress directory.
-
Create a sass file in the assets directory. (-f will force overwrite)
cp -f src/assets/icomoon/style.css src/assets/scss/_icomoon.scss
- Update location using search and replace
sed -i 's#fonts\/icomoon#..\/icomoon\/fonts\/icomoon#g' src/assets/scss/_icomoon.scss
- Be sure to include this file in
src/assets/scss/app.scss
.
@import "icomoon";