jubishop / smalldemocracy

Tools for a Small Democracy.
https://smalldemocracy.com
Other
2 stars 1 forks source link

Use sass and @import google font #151

Closed jubishop closed 2 years ago

jubishop commented 2 years ago

See https://www.developerdrive.com/how-to-easily-use-google-fonts-with-sass/

Also mentioned in bulma docs.

This may make the have_googlefonts() capybara wait unnecessary.

jubishop commented 2 years ago

Use https://developer.mozilla.org/en-US/docs/Web/API/CSS_Font_Loading_API to detect when fonts are loaded

jubishop commented 2 years ago

still need to update detection method of loaded.

jubishop commented 2 years ago

Maybe just remove detection method with a straight setting of the css class and see if I can still pass