feat: ios mobil arayüz tasarımı
This commit is contained in:
29
ios/Bookibra/DesignSystem/Theme.swift
Normal file
29
ios/Bookibra/DesignSystem/Theme.swift
Normal 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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user