This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user