[libadwaita/wip/exalm/large-title: 3/3] doc: Deprecate .large-title
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/large-title: 3/3] doc: Deprecate .large-title
- Date: Wed, 30 Mar 2022 11:43:30 +0000 (UTC)
commit 0de8f04b52d343e4b6e28e6491d3f84adc96e541
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]