fix: compile

This commit is contained in:
Junhui Chen 2025-08-22 20:16:16 +08:00
parent 3fb865bf26
commit 0aa1271c93
3 changed files with 5 additions and 2 deletions

View File

@ -52,6 +52,9 @@ struct Theme {
static let freeBackground = primaryLight // Free
static let pioneerBackground = primary // Pioneer
static let subscribeButton = primary //
// MARK: -
static let cardBackground = Color.white //
}
// MARK: -

View File

@ -3,10 +3,10 @@ import SwiftUI
// MARK: -
///
enum FontFamily: String, CaseIterable {
case quicksand = "Quicksand x"
case quicksandBold = "Quicksand-Bold"
case quicksandRegular = "Quicksand-Regular"
case inter = "Inter"
case lavishlyYours = "LavishlyYours-Regular"
///
var name: String {

View File

@ -17,7 +17,7 @@ struct TestView: View {
//
VStack(spacing: 6) {
Text("MemoryWake")
.font(Typography.font(for: .headline, family: .sankeiCute, size: 30))
.font(Typography.font(for: .headline, family: .quicksandBold, size: 30))
.kerning(1.2)
.foregroundStyle(Color.black.opacity(0.85))
.shadow(color: .black.opacity(0.06), radius: 6, x: 0, y: 3)