Make default font stack generic
The current font fallback stack imposes Simplified Chinese (China GB standard) fonts regardless of users’ system and interface language. This commit will make the default fallback stack more generic and specify language-specific variants later. Note: Source Han Sans (@adobe-fonts/source-han-sans) automatically chooses the correct CJK glyph variant base on document language, hence it is retained in the stack.
This commit is contained in:
parent
d455f62e5f
commit
672bd723d5
1 changed files with 3 additions and 3 deletions
|
@ -1,9 +1,9 @@
|
|||
// Copyright 2015 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
$inter: Inter, 'Helvetica Neue', 'Source Sans Pro', 'Source Han Sans SC',
|
||||
'Source Han Sans CN', 'Hiragino Sans GB', 'Hiragino Kaku Gothic',
|
||||
'Microsoft Yahei UI', Helvetica, Arial, sans-serif;
|
||||
// Note: Add language-specific fallbacks in @localized-fonts mixin
|
||||
$inter: Inter, 'Source Sans Pro', 'Source Han Sans', -apple-system, system-ui,
|
||||
'Segoe UI', 'Noto Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
|
||||
// Note: This font-family is checked for in matchMonospace, to support paste scenarios
|
||||
$monospace: 'SF Mono', SFMono-Regular, ui-monospace, 'DejaVu Sans Mono', Menlo,
|
||||
|
|
Loading…
Reference in a new issue