Use Semi Bold font in commit details subject line

This allows clearly differentiating between the subject line and body.

Using Semi Bold (600) weight also makes it easier to see the subject
among the rest of the UI, without overpowering it, unlike Bold (700).

Co-authored-by: Hari Rana <theevilskeleton@riseup.net>
This commit is contained in:
Jean-François Fortin Tam 2024-02-11 17:40:02 -05:00 committed by Alberto Fanjul
parent 287e925cbc
commit 67c40f9d50
2 changed files with 9 additions and 0 deletions

View file

@ -126,6 +126,12 @@ GitgHistoryRefRow {
font-weight: bold;
}
.subject-label-semi-bold {
/* In the main commit diff details header, instead of using full bold (700),
use semi-bold for the 1st line to avoid overpowering the rest of the UI. */
font-weight: 600;
}
.sha1-label {
font-size: 0.8em;
color: @insensitive_fg_color;

View file

@ -130,6 +130,9 @@
<property name="wrap">True</property>
<property name="selectable">True</property>
<property name="use_markup">True</property>
<style>
<class name="subject-label-semi-bold" />
</style>
</object>
<packing>
<property name="left_attach">0</property>