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
+4 -4
View File
@@ -4,10 +4,10 @@ $page = Get-Content -LiteralPath (Join-Path $root 'pages/tree/t03-member-profile
$style = [regex]::Match($page, '(?s)<style[^>]*>(.*?)</style>').Groups[1].Value
if ([regex]::IsMatch($style, '(?m)\bposition\s*:')) { throw 'T03 member profile must use document flow throughout' }
foreach ($required in @(
'@include adaptive.adaptive-tree-panel;',
'@include adaptive.adaptive-tree-field;',
'@include adaptive.adaptive-genealogy-list-card;',
'@include adaptive.adaptive-scroll-button(primary);',
'@include adaptive-tree-panel;',
'@include adaptive-tree-field;',
'@include adaptive-genealogy-list-card;',
'@include adaptive-scroll-button(primary);',
'background: url("/static/assets/modules/genealogy/transparent/current-seal-frame.png")'
)) { if ($page -notmatch [regex]::Escape($required)) { throw "T03 is missing adaptive asset surface: $required" } }
$memberPanelStyle = [regex]::Match($style, '(?ms)^\s*\.member-panel\s*\{(?<body>.*?)\}').Groups['body'].Value