Skip to content
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

Take td-enable-google-fonts into account for RTL fonts. #869

Merged
merged 1 commit into from
Feb 2, 2022

Conversation

SubOptimal
Copy link
Contributor

The documentation for the look and feel mention a way to use a system font instead of a Google font.

The theme uses Open Sans as its primary font. To disable Google Fonts and use a system font, set this SCSS variable in assets/scss/_variables_project.scss.

Currently some of the RTL fonts are always loaded from https://fonts.googleapis.com. It's more consistent, if the variable td-enable-google-fonts controls the behavior for all used Google fonts.

This PR enables to control the load for RTL fonts from Google or system fonts, similar to the behavior of the primary font "Open Sans".

Copy link
Collaborator

@chalin chalin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @SubOptimal.

This seems reasonable to me. Thoughts @LisaFC, @emckean or @theSinner?

@chalin chalin self-assigned this Jan 31, 2022
@chalin
Copy link
Collaborator

chalin commented Feb 2, 2022

I'll assume consent and merge now. We can always address any comments in follow PRs.

@chalin chalin merged commit 83053d8 into google:master Feb 2, 2022
@LisaFC
Copy link
Collaborator

LisaFC commented Feb 2, 2022

Fine by me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants