From 7baab0428f9e31487b4ef4ad50deeb432e56fa0a Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Mon, 22 Dec 2025 22:46:53 -0600 Subject: [PATCH] Signed-off-by: Matt Bruce --- .../CasinoKit/Theme/CasinoDesign.swift | 26 ++++--------------- 1 file changed, 5 insertions(+), 21 deletions(-) diff --git a/CasinoKit/Sources/CasinoKit/Theme/CasinoDesign.swift b/CasinoKit/Sources/CasinoKit/Theme/CasinoDesign.swift index b70457d..a31123e 100644 --- a/CasinoKit/Sources/CasinoKit/Theme/CasinoDesign.swift +++ b/CasinoKit/Sources/CasinoKit/Theme/CasinoDesign.swift @@ -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)