gtk: Add general typography styling
Follow the upstream change:
https://gitlab.gnome.org/GNOME/gtk/-/commit/9b11707a52f832902af23eadae7b791b60e65d0a
Follow the upstream change:
https://gitlab.gnome.org/GNOME/gtk/-/commit/9b11707a52f832902af23eadae7b791b60e65d0a
by roundabout, Tuesday, 15 September 2020, 16:26:35 (1600187195), pushed by roundabout, Sunday, 11 May 2025, 13:22:54 (1746969774)
Author identity: nana-4 <hnmaigo@gmail.com>
89a8a43f48b10fdf1ff547e2935d7996a9730fce
}
}
/**
* General Typography
*/
@function pt($size: $font-size) {
@return ($size * .75 / 1px) * 1pt;
}
.large-title {
font-weight: 400;
font-size: pt(48px);
}
.title-1 {
font-weight: 400;
font-size: pt(34px);
letter-spacing: pt(.25px);
}
.title-2 {
font-weight: 400;
font-size: pt(24px);
}
.title-3 {
font-weight: 500;
font-size: pt(20px);
letter-spacing: pt(.15px);
}
.title-4 {
font-weight: 400;
font-size: pt(16px);
letter-spacing: pt(.5px);
}
.heading {
font-weight: 500;
font-size: 1em;
}
.body {
font-weight: 400;
font-size: 1em;
}
.caption-heading {
font-weight: 500;
font-size: pt(12px);
letter-spacing: pt(1.5px);
}
.caption {
font-weight: 400;
font-size: pt(12px);
letter-spacing: pt(.4px);
}
/**
* Text Entries
*/