[gtk/message-dialog-title: 1/2] Adwaita: Add text style classes



commit fc98db89edea4a59d58296492dbeda1019aa6d34
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri May 31 12:08:20 2019 +0000

    Adwaita: Add text style classes
    
    Add a collection of text styles to improve
    the consistency of font selection in our UIs.
    
    See https://gitlab.gnome.org/GNOME/gtk/issues/1808

 gtk/theme/Adwaita/_common.scss | 44 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index ecdaeccaaf..11d504531d 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -4703,3 +4703,47 @@ popover.emoji-completion .emoji:hover {
 popover.entry-completion contents {
   padding: 0;
 }
+
+
+/***********************
+* Text styles (headings)
+************************/
+
+.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;
+}
+


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]