diff --git a/apps/Mac/App/Info.plist b/apps/Mac/App/Info.plist index f9c5571..eb2b120 100644 --- a/apps/Mac/App/Info.plist +++ b/apps/Mac/App/Info.plist @@ -36,6 +36,9 @@ NSPrincipalClass NSApplication + + ATSApplicationFontsPath + . GIDClientID 771367679852-bns841o89en9bfdulo5s5vltpucqj1vh.apps.googleusercontent.com CFBundleURLTypes diff --git a/apps/Shared/Fonts/LibreFranklin-Black.ttf b/apps/Shared/Fonts/LibreFranklin-Black.ttf new file mode 100644 index 0000000..783312b Binary files /dev/null and b/apps/Shared/Fonts/LibreFranklin-Black.ttf differ diff --git a/apps/Shared/Fonts/LibreFranklin-Bold.ttf b/apps/Shared/Fonts/LibreFranklin-Bold.ttf new file mode 100644 index 0000000..6d6ca6e Binary files /dev/null and b/apps/Shared/Fonts/LibreFranklin-Bold.ttf differ diff --git a/apps/Shared/Fonts/LibreFranklin-Light.ttf b/apps/Shared/Fonts/LibreFranklin-Light.ttf new file mode 100644 index 0000000..040060b Binary files /dev/null and b/apps/Shared/Fonts/LibreFranklin-Light.ttf differ diff --git a/apps/Shared/Fonts/LibreFranklin-Medium.ttf b/apps/Shared/Fonts/LibreFranklin-Medium.ttf new file mode 100644 index 0000000..658b653 Binary files /dev/null and b/apps/Shared/Fonts/LibreFranklin-Medium.ttf differ diff --git a/apps/Shared/Fonts/LibreFranklin-Regular.ttf b/apps/Shared/Fonts/LibreFranklin-Regular.ttf new file mode 100644 index 0000000..c6c1853 Binary files /dev/null and b/apps/Shared/Fonts/LibreFranklin-Regular.ttf differ diff --git a/apps/Shared/Fonts/LibreFranklin-SemiBold.ttf b/apps/Shared/Fonts/LibreFranklin-SemiBold.ttf new file mode 100644 index 0000000..7375f1f Binary files /dev/null and b/apps/Shared/Fonts/LibreFranklin-SemiBold.ttf differ diff --git a/apps/Shared/Support/ApproachNoteTheme.swift b/apps/Shared/Support/ApproachNoteTheme.swift index 61acad7..10555c7 100644 --- a/apps/Shared/Support/ApproachNoteTheme.swift +++ b/apps/Shared/Support/ApproachNoteTheme.swift @@ -14,12 +14,12 @@ struct ApproachNoteTheme { // MARK: - Typography /// Font family for headings (largeTitle, title, title2, title3, headline) - /// Options: "Futura", "Avenir", "Helvetica Neue", "Gill Sans", "Optima" - static let headingFontFamily = "Baskerville" + /// Options: "Libre Franklin", "Futura", "Avenir", "Helvetica Neue", "Gill Sans", "Optima", "Baskerville" + static let headingFontFamily = "Libre Franklin" /// Font family for body text (body, callout, subheadline, footnote, caption) - /// Options: "Baskerville", "Georgia", "Palatino", "Didot", "Cochin", "Charter", "Avenir", "Futura" - static let bodyFontFamily = "Avenir" + /// Options: "Libre Franklin", "Baskerville", "Georgia", "Palatino", "Didot", "Cochin", "Charter", "Avenir", "Futura" + static let bodyFontFamily = "Libre Franklin" // MARK: - Heading Fonts @@ -85,6 +85,15 @@ struct ApproachNoteTheme { /// Helper to get the correct heading font name variant for the weight private static func headingFontName(for weight: Font.Weight) -> String { switch headingFontFamily { + case "Libre Franklin": + switch weight { + case .black, .heavy: return "LibreFranklin-Black" + case .bold: return "LibreFranklin-Bold" + case .semibold: return "LibreFranklin-SemiBold" + case .medium: return "LibreFranklin-Medium" + case .light, .ultraLight, .thin: return "LibreFranklin-Light" + default: return "LibreFranklin-Regular" + } case "Futura": switch weight { case .bold, .heavy, .black: return "Futura-Bold" @@ -134,6 +143,15 @@ struct ApproachNoteTheme { /// Helper to get the correct body font name variant for the weight private static func bodyFontName(for weight: Font.Weight) -> String { switch bodyFontFamily { + case "Libre Franklin": + switch weight { + case .black, .heavy: return "LibreFranklin-Black" + case .bold: return "LibreFranklin-Bold" + case .semibold: return "LibreFranklin-SemiBold" + case .medium: return "LibreFranklin-Medium" + case .light, .ultraLight, .thin: return "LibreFranklin-Light" + default: return "LibreFranklin-Regular" + } case "Futura": switch weight { case .bold, .heavy, .black: return "Futura-Bold" diff --git a/apps/iOS/App/Info.plist b/apps/iOS/App/Info.plist index d644189..85301d7 100644 --- a/apps/iOS/App/Info.plist +++ b/apps/iOS/App/Info.plist @@ -55,6 +55,17 @@ + + UIAppFonts + + LibreFranklin-Light.ttf + LibreFranklin-Regular.ttf + LibreFranklin-Medium.ttf + LibreFranklin-SemiBold.ttf + LibreFranklin-Bold.ttf + LibreFranklin-Black.ttf + + UIApplicationSceneManifest