Merge branch 'wip/jimmac/typography-classes' into 'master'

Adwaita: general typography classes

Closes #1808

See merge request GNOME/gtk!1339
This commit is contained in:
Matthias Clasen 2020-01-22 12:54:48 +00:00
commit 672d7f679a

View File

@ -288,24 +288,40 @@ spinner {
* General Typography *
**********************/
.type-large-title {
.large-title {
font-weight: 300;
font-size: 24pt;
letter-spacing: 0.2rem;
}
.type-title {
font-weight: 600;
font-size: 16pt;
.title-1 {
font-weight: 800;
font-size: 20pt;
}
.type-heading {
font-weight: 500;
.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;
}
.type-body {
.body {
font-weight: 400;
font-size: 11pt;
}
.type-caption {
.caption-heading {
font-weight: 700;
font-size: 9pt;
}
.caption {
font-weight: 400;
font-size: 9pt;
}