From a1776ee351864357acf77404505cd83e4daae513 Mon Sep 17 00:00:00 2001 From: silverwind Date: Mon, 22 May 2023 04:56:41 +0200 Subject: [PATCH] Set `--font-weight-bold` to 600 (#24840) Backport of https://github.com/go-gitea/gitea/pull/24827 to 1.19, just the font weight reduction. (cherry picked from commit e81d38b0f620bdd65643eb48b25341ed854ccf27) --- web_src/css/base.css | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/web_src/css/base.css b/web_src/css/base.css index d1b322d527..b9d447c7cf 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -3,10 +3,7 @@ --fonts-proportional: -apple-system, "Segoe UI", system-ui, "Roboto", "Helvetica Neue", "Arial"; --fonts-monospace: "SFMono-Regular", "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", monospace, var(--fonts-emoji); --fonts-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla"; - /* "font-weight: bold" starts from 700, some fonts do not provide "bolding" for weight 600. */ - /* But some users consider "700" is too heavy, so use 601, which is when Segoe UI on Linux */ - /* starts bolding. */ - --font-weight-bold: 601; + --font-weight-bold: 600; /* backgrounds */ --checkbox-mask-checked: url('data:image/svg+xml;utf8,'); --checkbox-mask-indeterminate: url('data:image/svg+xml;utf8,');