Frontend V3 responsive production update
All checks were successful
CD Pipeline / deploy (push) Successful in 1m3s

This commit is contained in:
OoO
2026-05-12 18:27:29 +08:00
parent 28fc3587bb
commit 605250619c
60 changed files with 15863 additions and 14849 deletions

View File

@@ -96,15 +96,13 @@ REQUIRED_SHELL_SNIPPETS = [
"momo-nav-subtree",
"momo-nav-subtitle",
"momo-nav-sublink",
"rgba(255, 248, 238, 0.72)",
"linear-gradient(180deg",
]
FORBIDDEN_SHELL_PATTERNS = [
Rule(
"pure_black_sidebar",
re.compile(r"\.momo-sidebar\s*\{[^}]*background\s*:\s*(#000|black)\b", re.IGNORECASE | re.DOTALL),
"側欄不得回退成純黑背景;必須維持暖深咖啡漸層",
"側欄不得回退成純黑背景;必須維持暖色 token 化背景",
),
Rule(
"low_contrast_sublink",