From 125217def48b9d328d152c4f94614e2457faf7a2 Mon Sep 17 00:00:00 2001 From: Jesse Stauffer Date: Thu, 20 Jun 2024 13:43:09 -0500 Subject: [PATCH] Update nav bar font sizes to use Thumbprint text styles --- Sources/Thumbprint/Components/NavigationBar.swift | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/Sources/Thumbprint/Components/NavigationBar.swift b/Sources/Thumbprint/Components/NavigationBar.swift index b8964e3..ac24738 100644 --- a/Sources/Thumbprint/Components/NavigationBar.swift +++ b/Sources/Thumbprint/Components/NavigationBar.swift @@ -114,16 +114,8 @@ public enum NavigationBar { ] ) - private static let titleFont = Font.TextStyle( - weight: .bold, - size: 16, - uiFontTextStyle: .body - ).uiFont - private static let largeTitleFont = Font.TextStyle( - weight: .bold, - size: 34, - uiFontTextStyle: .body - ).uiFont + private static let titleFont = Font.title6 + private static let largeTitleFont = Font.title1 } /// An enum defining the possible styles of content, which may be