Payments
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user