Adwaita: general typography classes

- many moons and some iterations later, these are the suggested
      general typographic styles. Already being referenced in apps like
      Banner Viewer (for now shipping custom definitions)

Fixes https://gitlab.gnome.org/GNOME/gtk/issues/1808
This commit is contained in:
Jakub Steiner
2020-01-22 12:06:31 +01:00
parent 3822ac74fc
commit 9b11707a52

View File

@ -267,6 +267,47 @@ spinner {
}
}
/**********************
* General Typography *
**********************/
.large-title {
font-weight: 300;
font-size: 24pt;
letter-spacing: 0.2rem;
}
.title-1 {
font-weight: 800;
font-size: 20pt;
}
.title-2 {
font-weight: 800;
font-size: 15pt;
}
.title-3 {
font-weight: 700;
font-size: 15pt;
}
.title-4 {
font-weight: 700;
font-size: 13pt;
}
.heading {
font-weight: 700;
font-size: 11pt;
}
.body {
font-weight: 400;
font-size: 11pt;
}
.caption-heading {
font-weight: 700;
font-size: 9pt;
}
.caption {
font-weight: 400;
font-size: 9pt;
}
/****************
* Text Entries *