diff --git a/docs/waves/backlog.md b/docs/waves/backlog.md index 5e6f480..4071b05 100644 --- a/docs/waves/backlog.md +++ b/docs/waves/backlog.md @@ -538,7 +538,7 @@ deliberately deferred. drive-by CLAUDE.md forbids; the audit's job was to measure and document. - **Suggested wave or follow-up:** next revision, one task, using the T7.9 kit. -### BL-025 — The second brand blue survives as one rgba focus tint in help.js +### BL-025 — CLOSED 2026-08-20 (tint rebased onto THE blue; color_check greps space-free spellings) - **Found during:** the 2026-08-20 transparency fix (undefined-token sweep) - **Where:** `help.js`, the help-centre search input's `:focus` rule: diff --git a/html/help.js b/html/help.js index e96fcd3..677d511 100644 --- a/html/help.js +++ b/html/help.js @@ -139,7 +139,7 @@ .ui-help-search{ flex:1; position:relative; max-width:420px; } .ui-help-search input{ width:100%; padding:8px 12px; border:1px solid var(--cds-border-strong); border-radius:0; font-size:13px; outline:none; background:var(--cds-layer-accent); } - .ui-help-search input:focus{ border-color:var(--cds-focus); background:var(--cds-layer); box-shadow:0 0 0 2px rgba(37,99,214,.15); } + .ui-help-search input:focus{ border-color:var(--cds-focus); background:var(--cds-layer); box-shadow:0 0 0 2px rgba(15,98,254,.15); } .ui-help-head .ui-help-x{ margin-left:auto; background:none; border:none; font-size:20px; cursor:pointer; color:var(--cds-text-secondary); line-height:1; } .ui-help-wrap{ display:flex; flex:1; min-height:0; } .ui-help-nav{ width:230px; flex:none; border-right:1px solid var(--cds-border-subtle); overflow:auto; padding:10px 8px; background:var(--cds-layer-accent); } diff --git a/tests/color_check.py b/tests/color_check.py index 46cec43..29a037a 100644 --- a/tests/color_check.py +++ b/tests/color_check.py @@ -53,8 +53,11 @@ def main(): print("\n2. one blue, one amber") theme = io.open(os.path.join(HTML, "theme-light.css"), encoding="utf-8").read() code = strip_comments(theme, True) + # BL-025 widened this: the rgb spelling is compared space-free, because + # rgba(37,99,214,.15) in help.js slid past the spaced grep for months. chk("the second brand blue (#2563d6) is gone from the theme itself", - "2563d6" not in code and "37, 99, 214" not in code) + "2563d6" not in code.lower() + and "37,99,214" not in code.replace(" ", "")) chk("the ninth amber (--wp-status-warning-text-alt) is deleted", "--wp-status-warning-text-alt" not in code) others = [] @@ -63,7 +66,8 @@ def main(): continue src = strip_comments(io.open(os.path.join(HTML, name), encoding="utf-8").read(), name.endswith(".css")) - if "warning-text-alt" in src or "2563d6" in src: + if ("warning-text-alt" in src or "2563d6" in src.lower() + or "37,99,214" in src.replace(" ", "")): others.append(name) chk("...and no consumer still references either", not others, others)