Families.js generates scss for italic fonts that don’t exist for all languages
families.js currently assumes all fonts have all weights, which is not the case. Needs to be updated to only generate scss/css for the font weights that exist.
Related to: https://github.com/IBM/plex/issues/183
All fonts have 8 weights.
Hey @mjabbink sorry I didn't name this issue correctly. Not all fonts have italic versions and the script generates scss for that.
gotcha
That is true. Hebrew and Thai do not have Italics. The upcoming Devanagari and Arabic also do not have italics. Should I close this issue or leave open?
We should leave open for now, @joshblack is going to help to fix the script to generate the correct files. It may also make sense to keep this repo to only hold the fonts, and move the sass file generation to the elements repo.
Kind of resolved on the most recent version - it will still generate the italic folders for non-english languages, but it will not import them. So it's usable for now