UI: Adjust font-weight for Roboto (#5383)

This commit is contained in:
Alexander Zinchuk 2024-12-29 11:59:19 +01:00
parent d00230ad33
commit fffe849e92
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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 {