-
-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating fonts to support lessons in Ukrainian #133
Updating fonts to support lessons in Ukrainian #133
Conversation
Sorry for the delay in getting this tested @olexandr-konovalov. It took me a bit of learning to figure out how to render lessons using dovetail (although @joelnitta's guide here made things much clearer!). I did get the ukranian-carpentries/git-novice lesson rendered locally with both the current version of varnish and the version included in this PR, however, I'm not seeing any difference in the rendered fonts (see screenshot below, official varnish on top, this PR on bottom): ![]() It seems like the fonts you've loaded aren't being found? For reference, the way to test with a custom version of varnish is to run the following in your R session:
Pinging @froggleston here in case he knows more about where/how new fonts are integrated and if there's a setting I'm missing here. |
Many thanks for testing this, @ErinBecker! Indeed, it does not change the fonts. Will be waiting to hear from @froggleston |
Does this look better @olexandr-konovalov ? If so, the issue is that styles.css.scss needs to be modified to refer to the new fonts, referring to
To test locally, the stylesheets can be rebuilt with |
@froggleston hooray, yes, thanks, this seems to be exactly what's needed! I can try to test it locally, if you think it will be useful, but otherwise I think we can go ahead with the change. |
Thanks for the feedback @olexandr-konovalov ! I'll push a commit to address it! In the meantime, could you merge in varnish main to this PR and we should then be in a good spot to merge it all in. |
@froggleston thanks - do you mean I can rebase my branch on top of the latest |
Downloaded Mulish.zip from https://fonts.google.com/specimen/Mulish and added all .ttf
16f908c
to
65b9ecd
Compare
@froggleston rebased - please check. |
Following the hints in #120, I have:
I haven't tested it, since I lack knowledge about building local version of the Carpentries lesson using custom version of varnish. I would be grateful if someone can test it (maybe build the lesson at https://github.com/ukrainian-carpentries/git-novice and post a screenshot of some page here) or point me to the instructions for building it myself.
Closes #120