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

Add different font stacks for different languages #46

Open
MoshiKoi opened this issue Nov 13, 2020 · 0 comments
Open

Add different font stacks for different languages #46

MoshiKoi opened this issue Nov 13, 2020 · 0 comments

Comments

@MoshiKoi
Copy link
Member

MoshiKoi commented Nov 13, 2020

See also: codidact/qpixel#270

Shouldn't be a too difficult addition, just need to add something like

$language-fonts: {
  "he": "frank ruhl libre", "narkisim", serif !default; // Hebrew
  // etc.
}
@each $key, $value in $language-fonts {
  :lang($value) {
    font-family: $value;
  }
}

(Disclaimer: I'm not familiar with SCSS but this should give a general idea)

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

No branches or pull requests

1 participant