Use 'SF Pro' font as a fallback in jp locale

This commit is contained in:
Fedor Indutny 2023-11-13 23:28:55 +01:00 committed by GitHub
parent d7177516c1
commit ec37b4ecf9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View file

@ -8,9 +8,9 @@ $inter: Inter, 'Helvetica Neue', 'Source Sans Pro', 'Source Han Sans SC',
@mixin font-family {
font-family: $inter;
&:lang(ja) {
font-family: 'SF Pro JP', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3',
メイリオ, Meiryo, ' Pゴシック', 'Helvetica Neue', Helvetica, Arial,
sans-serif;
font-family: Inter, 'SF Pro', 'SF Pro JP', 'BIZ UDGothic',
'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', メイリオ, Meiryo,
' Pゴシック', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
}

View file

@ -6,9 +6,9 @@
@mixin localized-fonts {
/* Japanese */
&:lang(ja) {
font-family: 'SF Pro JP', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3',
メイリオ, Meiryo, ' Pゴシック', 'Helvetica Neue', Helvetica, Arial,
sans-serif;
font-family: Inter, 'SF Pro', 'SF Pro JP', 'BIZ UDGothic',
'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', メイリオ, Meiryo,
' Pゴシック', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
/* Farsi (Persian) */
&:lang(fa) {