From 2aee2df6e9e8fee1ace395480c259cb84da59d77 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Tue, 29 Jan 2019 19:11:04 -0700 Subject: [PATCH] Fix usage of semibold fonts Fixes https://github.com/vector-im/riot-web/issues/8275 --- res/css/views/settings/tabs/_SettingsTab.scss | 3 ++- res/themes/dharma/css/_dharma.scss | 1 - res/themes/light/css/_base.scss | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/res/css/views/settings/tabs/_SettingsTab.scss b/res/css/views/settings/tabs/_SettingsTab.scss index 17f869b5b0..de4baca892 100644 --- a/res/css/views/settings/tabs/_SettingsTab.scss +++ b/res/css/views/settings/tabs/_SettingsTab.scss @@ -23,7 +23,8 @@ limitations under the License. .mx_SettingsTab_subheading { font-size: 14px; display: block; - font-family: $font-family-semibold; + font-family: $font-family; + font-weight: 600; color: $primary-fg-color; margin-bottom: 10px; margin-top: 12px; diff --git a/res/themes/dharma/css/_dharma.scss b/res/themes/dharma/css/_dharma.scss index a02efb3f89..f976180144 100644 --- a/res/themes/dharma/css/_dharma.scss +++ b/res/themes/dharma/css/_dharma.scss @@ -5,7 +5,6 @@ horizontal mess. Arial empirically gets it right, hence prioritising Arial here. */ $font-family: 'Nunito', Arial, Helvetica, Sans-Serif; -$font-family-semibold: 'Nunito SemiBold', Arial, Helvetica, Sans-Serif; // typical text (dark-on-white in light skin) $primary-fg-color: #454545; diff --git a/res/themes/light/css/_base.scss b/res/themes/light/css/_base.scss index 7136b8834a..998325e1b7 100644 --- a/res/themes/light/css/_base.scss +++ b/res/themes/light/css/_base.scss @@ -4,7 +4,6 @@ horizontal mess. Arial empirically gets it right, hence prioritising Arial here. */ $font-family: 'Open Sans', Arial, Helvetica, Sans-Serif; -$font-family-semibold: 'Open Sans', Arial, Helvetica, Sans-Serif; // typical text (dark-on-white in light skin) $primary-fg-color: #454545;