sf-mono-webfont

SF Mono webfont (WOFF & WOFF2) generated with FontSquirrel.

Usage no npm install needed!

<script type="module">
  import sfMonoWebfont from 'https://cdn.skypack.dev/sf-mono-webfont';
</script>

README

SF Mono Webfont

Downloaded from Apple Fonts.

Generated with Font Squirrel.

Build

After building with Font Squirrel, run this command to correct font-family in the generated CSS file.

sed -i "s/'sf_mono'/'SF Mono'/g" stylesheet.css