A minisite for Recursive Sans & Mono.
Follow these instructions to set up Jekyll for development:
https://idratherbewriting.com/jekylldoctheme-separate-outputs/mydoc/mydoc_install_dependencies.html
Install PurgeCSS globally with:
npm install -g purgecss
- In the command line, run this line:
purgecss -c purgecss.config.js -o css/purge-result
- In
_includes/head.html
, look for where it says "Switch these two lines after a purge:". Comment in the Purge result stylesheet and comment out the standard stylesheet.
Note: sometimes, PurgeCSS doesn't "notice" a font path change. Check that each font update has actually made it through to prod CSS.
bundle exec jekyll serve
- Update the font at the path such as
assets/fonts/Recursive_VF_1.085.woff2
. - Search for the old font name, and replace it with the new one.
- Run the build to check that the changes worked.