diff --git a/sticker-creator/src/fonts.scss b/sticker-creator/src/fonts.scss index 23758b7955a..0f73751958f 100644 --- a/sticker-creator/src/fonts.scss +++ b/sticker-creator/src/fonts.scss @@ -1,9 +1,8 @@ // Copyright 2022 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; +$inter: Inter, 'Source Sans Pro', 'Source Han Sans', -apple-system, system-ui, + 'Segoe UI', 'Noto Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; @mixin font-family { font-family: $inter; diff --git a/stylesheets/_variables.scss b/stylesheets/_variables.scss index 5f2437e9ddc..43b2a597edf 100644 --- a/stylesheets/_variables.scss +++ b/stylesheets/_variables.scss @@ -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,