From 19993d8814e227ac0a52b73d36fdb03fbb143c3f Mon Sep 17 00:00:00 2001 From: silverwind Date: Mon, 22 May 2023 01:37:32 +0200 Subject: Change `--font-weight-bold` to `--font-weight-semibold` and 600 value, introduce new font weight variables (#24827) There was some recent discussion about this in Discord `ui-design` channel and the conclusion was that https://github.com/go-gitea/gitea/issues/24305 should have fixed their OS font installation to have semibold weights. I have now tested this 601 weight on a Windows 10 machine on Firefox myself, and I immediately noticed that bold was excessivly bold and rendering as 700 because browsers are biased towards bolder fonts. So revert this back to the previous value. --- web_src/js/components/DashboardRepoList.vue | 2 +- web_src/js/components/DiffFileList.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'web_src/js') diff --git a/web_src/js/components/DashboardRepoList.vue b/web_src/js/components/DashboardRepoList.vue index a434eee436..0fd22ca9b6 100644 --- a/web_src/js/components/DashboardRepoList.vue +++ b/web_src/js/components/DashboardRepoList.vue @@ -74,7 +74,7 @@
-
{{ repo.full_name }}
+
{{ repo.full_name }}
diff --git a/web_src/js/components/DiffFileList.vue b/web_src/js/components/DiffFileList.vue index 780f5e6c28..8ab7616892 100644 --- a/web_src/js/components/DiffFileList.vue +++ b/web_src/js/components/DiffFileList.vue @@ -1,7 +1,7 @@