Files
suixinkan_uikit/suixinkan/Theme/AppColor.swift

61 lines
1.8 KiB
Swift
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// 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)
// 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)
// MARK: - Border
static let border = UIColor(hex: 0xEEEEEE)
static let cardOutline = UIColor(hex: 0xE9ECEF)
// 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)
// 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
}