Files
suixinkan_uikit/suixinkan/Theme/Modules/OrderTokens.swift

47 lines
1.7 KiB
Swift
Raw Permalink 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.

//
// OrderTokens.swift
// suixinkan
//
import CoreGraphics
import UIKit
/// Android `OrderListScreen` / `DepositOrderListScreen` inline
enum OrderTokens {
// MARK: - Colors
static let filterBackground = UIColor(hex: 0xF4F4F4)
static let searchPlaceholder = UIColor(hex: 0xB6BECA)
static let label563 = UIColor(hex: 0x4B5563)
static let timestamp = UIColor(hex: 0x6B7280)
static let orderNumber = UIColor.black
static let chipBackground = UIColor(hex: 0xEFF6FF)
static let phoneIconBackground = UIColor(hex: 0xEFF6FF)
static let giftBorder = UIColor(hex: 0xE5E7EB)
static let sourceBorder = UIColor(hex: 0xE6EAF0)
static let sourceBackground = UIColor(hex: 0xF9FAFC)
static let sourceDivider = UIColor(hex: 0xE9EDF3)
static let sourceLeadPlaceholder = UIColor(hex: 0xF3F5F8)
static let depositSuccess = UIColor(hex: 0x27AE60)
static let depositSuccessBackground = UIColor(hex: 0xE8F8F0)
static let depositRefunded = UIColor(hex: 0x6B7280)
static let depositRefundedBackground = UIColor(hex: 0xF3F4F6)
static let remarkDivider = UIColor(hex: 0xF4F4F4)
static let valueBlack = UIColor.black
// MARK: - Layout
static let searchHeight: CGFloat = 36
static let filterPillHeight: CGFloat = 35
static let actionButtonHeight: CGFloat = 48
static let cardRadius: CGFloat = 12
static let pillRadius: CGFloat = 4
static let cardPadding: CGFloat = 16
static let cardGap: CGFloat = 12
static let filterGap: CGFloat = 8
static let infoRowSpacing: CGFloat = 8
static let dividerHeight: CGFloat = 0.5
static let refundButtonWidthRatio: CGFloat = 0.3
}