From fffe849e9226c40ca7215b2d624e27624bb61e98 Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Sun, 29 Dec 2024 11:59:19 +0100 Subject: [PATCH] UI: Adjust font-weight for Roboto (#5383) --- src/styles/_variables.scss | 1 - src/styles/index.scss | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/styles/_variables.scss b/src/styles/_variables.scss index a3814bb03..40481ccfa 100644 --- a/src/styles/_variables.scss +++ b/src/styles/_variables.scss @@ -310,7 +310,6 @@ $color-message-story-mention-to: #74bcff; --font-weight-normal: 400; --font-weight-medium: 500; - --font-weight-semibold: 600; --middle-header-panes-height: 0px; diff --git a/src/styles/index.scss b/src/styles/index.scss index ffab0e5b1..a83829828 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -35,6 +35,7 @@ body { "Consolas", monospace; --font-family-rounded: -ui-rounded, "Numbers Rounded", "Roboto", "Helvetica Neue", sans-serif; --font-family-condensed: "Roboto Condensed", "Roboto", "Helvetica Neue", sans-serif; + --font-weight-semibold: 500; // Note: Roboto is naturally quite bold, so 500 works well as default @media (max-width: 600px) { height: calc(var(--vh, 1vh) * 100); @@ -82,8 +83,8 @@ body.is-ios { --border-radius-messages-small: 0.5rem; } -body.is-windows { - --font-weight-semibold: 500; +body.is-macos { + --font-weight-semibold: 600; } body.is-electron {