fix: enforce homepage action CTA contrast
All checks were successful
CD Pipeline / deploy (push) Successful in 1m3s

This commit is contained in:
ogt
2026-06-25 11:09:53 +08:00
parent f8c6487c5c
commit be1ea94a09
4 changed files with 16 additions and 14 deletions

View File

@@ -604,7 +604,7 @@ def test_homepage_next_action_cta_keeps_visible_primary_contrast():
template = Path("templates/ai_intelligence.html").read_text(encoding="utf-8")
assert ".growth-command-alert-action" in template
assert "background: #8f442b" in template
assert "color: #fff" in template
assert "#commandTaskButton.growth-command-alert-action" in template
assert "background-color: #8f442b !important" in template
assert "color: #fff !important" in template
assert "width: min(100%, 980px)" in template