aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/sub_menu.tmpl
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-05-22 01:37:32 +0200
committerGitHub <noreply@github.com>2023-05-21 23:37:32 +0000
commit19993d8814e227ac0a52b73d36fdb03fbb143c3f (patch)
treec8cc745e5fd25da559c8310eb8df07d2b6ef959e /templates/repo/sub_menu.tmpl
parent4647660776436f0a83129b4ceb8426b1fb0599bb (diff)
downloadgitea-19993d8814e227ac0a52b73d36fdb03fbb143c3f.tar.gz
gitea-19993d8814e227ac0a52b73d36fdb03fbb143c3f.zip
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.
Diffstat (limited to 'templates/repo/sub_menu.tmpl')
-rw-r--r--templates/repo/sub_menu.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/sub_menu.tmpl b/templates/repo/sub_menu.tmpl
index def6beccb9..bfe5a20b16 100644
--- a/templates/repo/sub_menu.tmpl
+++ b/templates/repo/sub_menu.tmpl
@@ -28,7 +28,7 @@
{{range .LanguageStats}}
<div class="item gt-df gt-ac gt-jc">
<i class="color-icon gt-mr-3" style="background-color: {{.Color}}"></i>
- <span class="gt-bold gt-mr-3">
+ <span class="gt-font-semibold gt-mr-3">
{{if eq .Language "other"}}
{{$.locale.Tr "repo.language_other"}}
{{else}}