feat: 完成70%全局样式与可读性优化
This commit is contained in:
@@ -5,7 +5,7 @@ $style = [regex]::Match($page, '(?s)<style[^>]*>(.*?)</style>').Groups[1].Value
|
||||
$positions = [regex]::Matches([regex]::Replace($style, '(?s)/\*.*?\*/', ''), '(?m)\bposition\s*:\s*([^;]+);')
|
||||
if ($positions.Count -ne 0) { throw "G09 application list must use document flow; found $($positions.Count) position declarations" }
|
||||
foreach ($required in @(
|
||||
'@include adaptive.adaptive-genealogy-list-card;',
|
||||
'@include adaptive-genealogy-list-card;',
|
||||
'background: url("/static/assets/foundation/transparent/a01-scroll-primary-v3.png")'
|
||||
)) { if ($page -notmatch [regex]::Escape($required)) { throw "G09 is missing real asset background: $required" } }
|
||||
if ($page -match 'class="application-card__skin"') { throw 'G09 must not retain decorative card image layers' }
|
||||
|
||||
Reference in New Issue
Block a user