From e559f3f090e5cb1537466e7758d18cc0513db33f Mon Sep 17 00:00:00 2001
From: VICTORIA JOHNSON <110999245+DrVickie8@users.noreply.github.com>
Date: Tue, 27 Dec 2022 09:46:22 +0100
Subject: [PATCH 1/2] docs(guide): reverse body-1 and body-2 description
Reverse the description of body-1 and body-2 in the documentation for 'Typography levels'. Looking at how mat-body-1 (mat-h4) and mat-body-2 (mat-body) classes are applied, it seems that the descriptions in the documentation are reversed.
BREAKING CHANGE: the description for body-1 and body-2 has changed
Closes #26251
---
guides/typography.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/guides/typography.md b/guides/typography.md
index f10533ba6ba1..17504037f0d3 100644
--- a/guides/typography.md
+++ b/guides/typography.md
@@ -51,8 +51,8 @@ table below.
| `headline-6` | Section heading corresponding to the `
` tag. |
| `subtitle-1` | Section heading corresponding to the `` tag. |
| `subtitle-2` | Section heading corresponding to the `` tag. |
-| `body-1` | Base body text. |
-| `body-2` | Bolder body text. |
+| `body-1` | Bolder body text. |
+| `body-2` | Base body text. |
| `caption` | Smaller body and hint text. |
| `button` | Buttons and anchors. |
From 792cb6de8f0cc22e533212a54709c2dcd9ea9d1e Mon Sep 17 00:00:00 2001
From: Miles Malerba
Date: Tue, 28 Feb 2023 23:43:43 +0000
Subject: [PATCH 2/2] update descriptions
---
guides/typography.md | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/guides/typography.md b/guides/typography.md
index 17504037f0d3..5ffd07e75287 100644
--- a/guides/typography.md
+++ b/guides/typography.md
@@ -41,20 +41,20 @@ font weight, font size, and letter spacing. Angular Material uses the [typograph
from the 2018 version of the Material Design specification][2018-typography], outlined in the
table below.
-| Name | Description |
-|-----------------|------------------------------------------------------------------------------|
-| `headline-1` | One-off header, usually at the top of the page (e.g. a hero header). |
-| `headline-2` | One-off header, usually at the top of the page (e.g. a hero header). |
-| `headline-3` | One-off header, usually at the top of the page (e.g. a hero header). |
-| `headline-4` | One-off header, usually at the top of the page (e.g. a hero header). |
-| `headline-5` | Section heading corresponding to the `` tag. |
-| `headline-6` | Section heading corresponding to the `` tag. |
-| `subtitle-1` | Section heading corresponding to the `` tag. |
-| `subtitle-2` | Section heading corresponding to the `` tag. |
-| `body-1` | Bolder body text. |
-| `body-2` | Base body text. |
-| `caption` | Smaller body and hint text. |
-| `button` | Buttons and anchors. |
+| Name | Description |
+|-----------------|--------------------------------------------------------------|
+| `headline-1` | One-off header, usually at the top of the page (e.g. a hero header). |
+| `headline-2` | One-off header, usually at the top of the page (e.g. a hero header). |
+| `headline-3` | One-off header, usually at the top of the page (e.g. a hero header). |
+| `headline-4` | One-off header, usually at the top of the page (e.g. a hero header). |
+| `headline-5` | Section heading corresponding to the `` tag. |
+| `headline-6` | Section heading corresponding to the `` tag. |
+| `subtitle-1` | Section heading corresponding to the `` tag. |
+| `subtitle-2` | Section heading corresponding to the `` tag. |
+| `body-1` | Base body text. |
+| `body-2` | Secondary body text. |
+| `caption` | Smaller body and hint text. |
+| `button` | Buttons and anchors. |
[2018-typography]: https://m2.material.io/design/typography/the-type-system.html#type-scale