調整暖色系為鮮明純色
All checks were successful
CD Pipeline / deploy (push) Successful in 1m0s

This commit is contained in:
OoO
2026-05-06 21:46:18 +08:00
parent 464cb6b037
commit dc137e33ca
12 changed files with 149 additions and 153 deletions

View File

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