feat: 完成70%全局样式与可读性优化

This commit is contained in:
rain
2026-07-31 11:27:15 +08:00
parent 96524e4d6c
commit 555aa00043
116 changed files with 1928 additions and 1169 deletions
@@ -7,10 +7,10 @@ function Assert-Match([string]$Content, [string]$Pattern, [string]$Message) { if
$f01 = Read-Utf8 'pages/family/f01-family-feed.vue'
$f02 = Read-Utf8 'pages/family/f02-publish-feed.vue'
foreach ($expected in @('24rpx','23rpx','22rpx')) {
foreach ($expected in @('clamp\(15px, 24rpx, 18px\)','clamp\(14px, 23rpx, 17px\)','clamp\(14px, 22rpx, 17px\)')) {
Assert-Match $f01 "font-size:\s*$expected" "F01 readability token missing: $expected"
}
foreach ($expected in @('24rpx','23rpx')) {
foreach ($expected in @('clamp\(15px, 24rpx, 18px\)','clamp\(14px, 23rpx, 17px\)')) {
Assert-Match $f02 "font-size:\s*$expected" "F02 readability token missing: $expected"
}
Write-Output 'F01-F02 readability visual contract passed.'