mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
theme: Specify the weight, not the font, for header bar titles
Using `font: Bold` will override the font with whatever the system resolves a `Bold` font name to, including the font's own default size. We want the font weight to be bold, but we want the default font name and size to come from the GtkSettings:font-name property, like we do for the rest of the system.
This commit is contained in:
parent
974807fae9
commit
80f4dffa76
@ -946,7 +946,7 @@ GtkComboBox {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
font: Bold;
|
font-weight: bold;
|
||||||
padding: 0px 12px;
|
padding: 0px 12px;
|
||||||
}
|
}
|
||||||
.subtitle {
|
.subtitle {
|
||||||
|
@ -1134,7 +1134,7 @@ GtkComboBox {
|
|||||||
box-shadow: inset 0 1px rgba(238, 238, 236, 0.1); }
|
box-shadow: inset 0 1px rgba(238, 238, 236, 0.1); }
|
||||||
.titlebar .title, GtkCalendar.header .title,
|
.titlebar .title, GtkCalendar.header .title,
|
||||||
.header-bar .title {
|
.header-bar .title {
|
||||||
font: Bold;
|
font-weight: bold;
|
||||||
padding: 0px 12px; }
|
padding: 0px 12px; }
|
||||||
.titlebar .subtitle, GtkCalendar.header .subtitle,
|
.titlebar .subtitle, GtkCalendar.header .subtitle,
|
||||||
.header-bar .subtitle {
|
.header-bar .subtitle {
|
||||||
|
@ -1126,7 +1126,7 @@ GtkComboBox {
|
|||||||
box-shadow: inset 0 1px white; }
|
box-shadow: inset 0 1px white; }
|
||||||
.titlebar .title, GtkCalendar.header .title,
|
.titlebar .title, GtkCalendar.header .title,
|
||||||
.header-bar .title {
|
.header-bar .title {
|
||||||
font: Bold;
|
font-weight: bold;
|
||||||
padding: 0px 12px; }
|
padding: 0px 12px; }
|
||||||
.titlebar .subtitle, GtkCalendar.header .subtitle,
|
.titlebar .subtitle, GtkCalendar.header .subtitle,
|
||||||
.header-bar .subtitle {
|
.header-bar .subtitle {
|
||||||
|
Loading…
Reference in New Issue
Block a user