Files
suixinkan_uikit/suixinkan/Theme/AppSpacing.swift
汉秋 87696a4774 Introduce unified design tokens and migrate Home, Orders, and Statistics UI.
Establish AppColor/AppFont/AppSpacing/AppRadius theming, shared components, and design-system docs so pilot screens align with Android while keeping iOS-native spacing and touch targets.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 17:58:18 +08:00

34 lines
773 B
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.

//
// AppSpacing.swift
// suixinkan
//
import CoreGraphics
/// 8pt
enum AppSpacing {
static let xxs: CGFloat = 4
static let xs: CGFloat = 8
static let sm: CGFloat = 12
static let md: CGFloat = 16
static let lg: CGFloat = 24
static let xl: CGFloat = 32
static let xxl: CGFloat = 48
///
static let screenHorizontalInset: CGFloat = md
/// Apple HIG
static let minTouchTarget: CGFloat = 44
/// Header
static let homeHeaderHeight: CGFloat = 52
///
static let buttonHeight: CGFloat = 46
///
static let formRowHeight: CGFloat = 52
}