引入统一设计令牌并迁移首页、订单和数据 UI

This commit is contained in:
2026-07-06 17:58:18 +08:00
parent 71ab38af8d
commit 28dc004110
31 changed files with 737 additions and 213 deletions
+18
View File
@@ -0,0 +1,18 @@
//
// AppShadow.swift
// suixinkan
//
import UIKit
/// 轻量阴影,仅用于登录表单等浮层卡片。
enum AppShadow {
/// 为 layer 应用标准卡片阴影(登录表单等)。
static func applyCardShadow(to layer: CALayer) {
layer.shadowColor = UIColor.black.cgColor
layer.shadowOpacity = 0.08
layer.shadowOffset = CGSize(width: 0, height: 4)
layer.shadowRadius = 12
}
}