// // AppColor.swift // suixinkan // import UIKit /// 应用语义色,与 Android `theme/Color.kt` 及 `ScenicQueueTokens` 对齐。 enum AppColor { // MARK: - Brand static let primary = UIColor(hex: 0x0073FF) static let primaryBanner = UIColor(hex: 0x1677FF) static let primaryLight = UIColor(hex: 0xEFF6FF) static let primaryGradientEnd = UIColor(hex: 0x5CA8FF) // MARK: - Background static let pageBackground = UIColor(hex: 0xF5F5F5) static let pageBackgroundSoft = UIColor(hex: 0xF7FAFF) static let cardBackground = UIColor.white static let inputBackground = UIColor(hex: 0xF4F4F4) static let iconBackground = UIColor(hex: 0xEAF3FF) // MARK: - Border static let border = UIColor(hex: 0xEEEEEE) static let cardOutline = UIColor(hex: 0xE9ECEF) static let tabBarShadow = UIColor(hex: 0xE9EDF3) // MARK: - Text static let textPrimary = UIColor(hex: 0x333333) static let textSecondary = UIColor(hex: 0x666666) static let textTertiary = UIColor(hex: 0x999999) static let textTabInactive = UIColor(hex: 0x7D8DA3) // MARK: - Semantic static let success = UIColor(hex: 0x10B981) static let successBackground = UIColor(hex: 0xF0FDF4) static let warning = UIColor(hex: 0xFF7B00) static let warningBackground = UIColor(hex: 0xFFF0E2) static let danger = UIColor(hex: 0xEF4444) static let dangerBackground = UIColor(hex: 0xFFE7E7) static let info = UIColor(hex: 0x0073FF) static let infoBackground = UIColor(hex: 0xE8F4FF) static let online = UIColor(hex: 0x22C55E) static let controlDisabledStart = UIColor(hex: 0xC9CED6) static let controlDisabledEnd = UIColor(hex: 0xD9DDE4) // MARK: - Overlay static let overlayScrim = UIColor.black.withAlphaComponent(0.2) // MARK: - Legacy aliases(逐步迁移后移除) static let text333 = textPrimary static let text666 = textSecondary static let agreementLink = UIColor(hex: 0x208BFF) static let secondaryButtonBackground = primaryLight static let buttonDisabled = UIColor(hex: 0xC0C0C0) static let placeholder = UIColor.gray }