This commit is contained in:
Daniel Arantes Loverde
2026-02-15 08:18:06 -03:00
parent d7b8b1864a
commit 0f5ad4c268
35 changed files with 4090 additions and 309 deletions

View File

@@ -33,13 +33,15 @@ enum AppDarkColors {
enum AppTypography {
static let fontFamily = "Plus Jakarta Sans"
static let heading1 = Font.custom(fontFamily, size: 28).weight(.heavy)
static let heading2 = Font.custom(fontFamily, size: 20).weight(.heavy)
static let heading3 = Font.custom(fontFamily, size: 16).weight(.bold)
static let body = Font.custom(fontFamily, size: 16).weight(.regular)
static let button = Font.custom(fontFamily, size: 14).weight(.heavy)
static let caption = Font.custom(fontFamily, size: 10).weight(.bold)
static let overline = Font.custom(fontFamily, size: 11).weight(.bold)
// Avoid applying dynamic weight on custom font descriptors to prevent
// SwiftUI runtime warnings on some platforms/toolchains.
static let heading1 = Font.custom(fontFamily, size: 28)
static let heading2 = Font.custom(fontFamily, size: 20)
static let heading3 = Font.custom(fontFamily, size: 16)
static let body = Font.custom(fontFamily, size: 16)
static let button = Font.custom(fontFamily, size: 14)
static let caption = Font.custom(fontFamily, size: 10)
static let overline = Font.custom(fontFamily, size: 11)
static let bodyLineHeight: CGFloat = 1.6
static let buttonLetterSpacing: CGFloat = 0.08