[libadwaita/wip/exalm/large-title: 2/2] doc: Deprecate .large-title




commit 93264f8e3893fd03a8b5b089a2e84367c58cbda4
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Tue Mar 29 17:27:29 2022 +0400

    doc: Deprecate .large-title
    
    Fixes https://gitlab.gnome.org/GNOME/libadwaita/-/issues/361

 doc/style-classes.md | 22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)
---
diff --git a/doc/style-classes.md b/doc/style-classes.md
index ace794ff..5e1153e9 100644
--- a/doc/style-classes.md
+++ b/doc/style-classes.md
@@ -256,15 +256,6 @@ such, it's highly recommended to be used instead of changing opacity manually.
 These style classes can be applied to any widgets, but are mostly used for
 [class@Gtk.Label] or other widgets that contain them.
 
-<picture>
-  <source srcset="typography-large-title-dark.png" media="(prefers-color-scheme: dark)">
-  <img src="typography-large-title.png" alt="typography-large-title">
-</picture>
-
-The `.large-title` style class makes text large and thin. It's the largest
-style, infrequently used for display headings in greeters or assistants. It
-should only be used in conjunction with large amounts of whitespace.
-
 <picture>
   <source srcset="typography-titles-dark.png" media="(prefers-color-scheme: dark)">
   <img src="typography-titles.png" alt="typography-titles">
@@ -620,3 +611,16 @@ round. When used together with a [class@Gtk.Overlay] and a [class@Gtk.Revealer],
 it allows creating in-app notifications.
 
 [class@ToastOverlay] can be used to replace it.
+
+## `.large-title`
+
+<picture>
+  <source srcset="typography-large-title-dark.png" media="(prefers-color-scheme: dark)">
+  <img src="typography-large-title.png" alt="typography-large-title">
+</picture>
+
+The `.large-title` style class makes text large and thin. It's the largest
+style, infrequently used for display headings in greeters or assistants. It
+should only be used in conjunction with large amounts of whitespace.
+
+The [`.title-1`](#typography-styles) style class should be used instead.


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