forked from forgejo/forgejo
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.
This commit is contained in:
parent
4647660776
commit
19993d8814
26 changed files with 82 additions and 78 deletions
|
@ -74,7 +74,7 @@
|
|||
.markup h6 {
|
||||
margin-top: 24px;
|
||||
margin-bottom: 16px;
|
||||
font-weight: var(--font-weight-bold);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
|
@ -252,7 +252,7 @@
|
|||
margin-top: 16px;
|
||||
font-size: 1em;
|
||||
font-style: italic;
|
||||
font-weight: var(--font-weight-bold);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
.markup dl dd {
|
||||
|
@ -284,7 +284,7 @@
|
|||
}
|
||||
|
||||
.markup table th {
|
||||
font-weight: var(--font-weight-bold);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
.markup table th,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue