commit c69e611013d23813c7d9977e41c3ee5a71473809 parent d9fa13d3d371f7bdc88b5c06fe71fa80fc98428b Author: FIGBERT <figbert@figbert.com> Date: Thu, 15 Sep 2022 16:32:58 -0700 Update Heading styles Diffstat:
M | Shared/CapsuleView.swift | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Shared/CapsuleView.swift b/Shared/CapsuleView.swift @@ -49,11 +49,11 @@ struct CapsuleView: View { Text(code).monospaced(true) case .Heading(let level, let str): if level == 1 { - Text(str).font(.title) + Text(str).font(.title).fontWeight(.bold) } else if level == 2 { - Text(str).font(.title2) + Text(str).font(.title).fontWeight(.semibold) } else if level == 3 { - Text(str).font(.title3) + Text(str).font(.title) } case .UnorderedList(let str): Text("ยท \(str)")