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
+3 -3
View File
@@ -7,7 +7,7 @@ $read = [string]([char]0x5DF2) + [char]0x8BFB
$markAllRead = [string]([char]0x5168) + [char]0x90E8 + $read
$goToReview = [string]([char]0x524D) + [char]0x5F80 + [char]0x5165 + [char]0x8C31 + [char]0x5BA1 + [char]0x6838
$required = @(
'@include adaptive.adaptive-notification-content;',
'@include adaptive-notification-content;',
'AppLoading',
'AppToast',
'notice-state--loading',
@@ -45,8 +45,8 @@ if ($source -match '100%\s+100%\s+no-repeat|border-image-slice\s*:') {
# N01 的可读性与块级操作由本页面基线合同持有,不再依赖浏览器截图状态助手。
foreach ($ruleContract in @(
@{ Selector = 'notice-card__status'; Expected = 'font-size:\s*21rpx;' }
@{ Selector = 'notice-card__summary'; Expected = 'font-size:\s*23rpx;' }
@{ Selector = 'notice-card__status'; Expected = 'font-size:\s*clamp\(13px, 21rpx, 16px\);' }
@{ Selector = 'notice-card__summary'; Expected = 'font-size:\s*clamp\(14px, 23rpx, 17px\);' }
)) {
$selector = [regex]::Escape($ruleContract.Selector)
if ($source -notmatch "(?s)\.$selector\s*\{[^}]*$($ruleContract.Expected)") {