Signed-off-by: Matt Bruce <mbrucedogs@gmail.com>
This commit is contained in:
parent
64199d5bb3
commit
7baab0428f
@ -99,25 +99,6 @@ public enum CasinoDesign {
|
||||
// MARK: - Sizes
|
||||
|
||||
public enum Size {
|
||||
// MARK: - Dynamic Scaling (uses DeviceKit)
|
||||
|
||||
/// Hand scaling factor for small devices (iPhone SE, iPad mini).
|
||||
public static let handScaleSmall: CGFloat = 1.5
|
||||
|
||||
/// Hand scaling factor for standard+ devices.
|
||||
public static let handScaleLarge: CGFloat = 2.0
|
||||
|
||||
/// Dynamic hand scale based on device type.
|
||||
public static var handScale: CGFloat {
|
||||
DeviceInfo.isSmallDevice ? handScaleSmall : handScaleLarge
|
||||
}
|
||||
|
||||
/// Dynamic font scale based on device type.
|
||||
/// Slightly smaller on small devices for better fit.
|
||||
public static var fontScale: CGFloat {
|
||||
DeviceInfo.isSmallDevice ? handScale * 0.90 : handScale
|
||||
}
|
||||
|
||||
// MARK: - Chip Sizes
|
||||
|
||||
/// Default chip size for selectors.
|
||||
@ -237,8 +218,11 @@ public extension Color {
|
||||
/// Subtle fill for section cards.
|
||||
public static let sectionFill = Color.white.opacity(CasinoDesign.Opacity.subtle)
|
||||
|
||||
/// Accent color for buttons and highlights.
|
||||
public static let accent = Color.yellow
|
||||
/// Card background in settings/sheets.
|
||||
public static let cardBackground = Color.white.opacity(CasinoDesign.Opacity.verySubtle)
|
||||
|
||||
/// Accent color for buttons and highlights (gold).
|
||||
public static let accent = Color(red: 0.9, green: 0.75, blue: 0.3)
|
||||
|
||||
/// Secondary text color.
|
||||
public static let secondaryText = Color.white.opacity(CasinoDesign.Opacity.accent)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user