[gtk/wip/jimmac/deprecate-large-titles] style: deprecate .large-title




commit ad707394ac6994a8294fe7d292d3056751297af6
Author: Jakub Steiner <jimmac gmail com>
Date:   Fri Dec 17 16:36:11 2021 +0100

    style: deprecate .large-title
    
    - mirror the change in libadwaita
    
    See https://gitlab.gnome.org/GNOME/libadwaita/-/issues/361

 demos/widget-factory/widget-factory.ui | 8 --------
 gtk/theme/Default/_common.scss         | 4 ----
 2 files changed, 12 deletions(-)
---
diff --git a/demos/widget-factory/widget-factory.ui b/demos/widget-factory/widget-factory.ui
index e31629d986..c9fbb3480d 100644
--- a/demos/widget-factory/widget-factory.ui
+++ b/demos/widget-factory/widget-factory.ui
@@ -1071,14 +1071,6 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
                                       <object class="GtkBox">
                                         <property name="orientation">1</property>
                                         <property name="spacing">10</property>
-                                        <child>
-                                          <object class="GtkLabel">
-                                            <property name="label">Large Title</property>
-                                            <style>
-                                              <class name="large-title"/>
-                                            </style>
-                                          </object>
-                                        </child>
                                         <child>
                                           <object class="GtkLabel">
                                             <property name="label">Title 1</property>
diff --git a/gtk/theme/Default/_common.scss b/gtk/theme/Default/_common.scss
index 2725291cfd..6cb0ed4dc9 100644
--- a/gtk/theme/Default/_common.scss
+++ b/gtk/theme/Default/_common.scss
@@ -230,10 +230,6 @@ spinner {
  * General Typography *
  **********************/
 
-.large-title {
-   font-weight: 300;
-   font-size: 24pt;
-}
 .title-1 {
    font-weight: 800;
    font-size: 20pt;


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