feat: ios mobil arayüz tasarımı

This commit is contained in:
2026-02-11 18:06:35 +03:00
parent 69884db0ab
commit 261b2f58cc
42 changed files with 2501 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
import SwiftUI
enum Theme {
static let background = Color(red: 0.97, green: 0.96, blue: 0.94)
static let textPrimary = Color.black
static let textSecondary = Color.gray
static let designShelf = LinearGradient(
colors: [Color(red: 0.87, green: 0.66, blue: 0.45), Color(red: 0.79, green: 0.55, blue: 0.34)],
startPoint: .top,
endPoint: .bottom
)
static let psychologyShelf = LinearGradient(
colors: [Color(red: 0.58, green: 0.67, blue: 0.78), Color(red: 0.45, green: 0.55, blue: 0.66)],
startPoint: .top,
endPoint: .bottom
)
static let novelsShelf = LinearGradient(
colors: [Color.white, Color(red: 0.9, green: 0.9, blue: 0.9)],
startPoint: .top,
endPoint: .bottom
)
static func headerSerif(size: CGFloat) -> Font {
.custom("NewYork-Regular", size: size, relativeTo: .largeTitle)
}
}