refactor(mp): E3-2 大文件拆分 + U3-2 微交互统一
E3-2 大文件拆分(3 文件 → 6 文件): - daily-monitoring 449L → useDailyMonitoring.ts hook(238L) + 页面(255L) - request.ts 376L → cache.ts(75L) + limiter.ts(32L) + 主文件(278L) - BLEManager.ts 363L → BLEConnection.ts(212L) + 主文件(228L) U3-2 微交互统一: - 新增 haptic.ts 工具(light/medium/heavy 三级触觉反馈) - PrimaryButton 点击触发 hapticLight() - tokens.scss 新增 5 个动画时序 token(duration/easing) - mixins.scss 新增 fade-in() mixin(支持 fast/normal/slow 三档)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// Auto-generated by scripts/generate-tokens.ts — DO NOT EDIT
|
||||
// Generated at: 2026-05-22T00:11:18.815Z
|
||||
// Generated at: 2026-05-22T00:37:54.202Z
|
||||
|
||||
export const TOKEN_VALUES = {
|
||||
"pri": "#C4623A",
|
||||
@@ -42,7 +42,12 @@ export const TOKEN_VALUES = {
|
||||
"touch-feedback-opacity": "0.85",
|
||||
"tag-font-size": "11px",
|
||||
"tag-padding-v": "3px",
|
||||
"tag-padding-h": "8px"
|
||||
"tag-padding-h": "8px",
|
||||
"duration-fast": "150ms",
|
||||
"duration-normal": "200ms",
|
||||
"duration-slow": "300ms",
|
||||
"easing": "cubic-bezier(0.16, 1, 0.3, 1)",
|
||||
"easing-bounce": "cubic-bezier(0.34, 1.56, 0.64, 1)"
|
||||
} as const;
|
||||
|
||||
export const ELDER_TOKEN_OVERRIDES = {
|
||||
|
||||
Reference in New Issue
Block a user