diff --git a/CHANGELOG.md b/CHANGELOG.md index 082d76f7a4..95740976c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +- Updated font of level 3 Headings in Posts to stand out from the body. #1034 - Fixed an issue where room names would not show up in the connected peers list. - Update the color palette used in the navigation bars and the main tab bar. #1059 - Added new redesigned Discover screen. #587 diff --git a/Source/Markdown/MarkdownStyler.swift b/Source/Markdown/MarkdownStyler.swift index 11bdfba04a..24a32efb1c 100644 --- a/Source/Markdown/MarkdownStyler.swift +++ b/Source/Markdown/MarkdownStyler.swift @@ -88,7 +88,7 @@ class MarkdownStyler: DownStyler { body = .body heading1 = .title3 heading2 = .headline - heading3 = .subheadline + heading3 = .headline case .small: body = .footnote heading1 = .footnote @@ -114,7 +114,7 @@ class MarkdownStyler: DownStyler { fonts.heading3 = UIFont.preferredFont(forTextStyle: heading3) case .small, .compact, .large: let heading = font( - for: UIFontDescriptor.preferredFontDescriptor(withTextStyle: heading1), + for: UIFontDescriptor.preferredFontDescriptor(withTextStyle: heading1).withSymbolicTraits(.traitBold), fallback: UIFont.preferredFont(forTextStyle: heading1) ) fonts.heading1 = heading