<@U0BME18CF7S> please review 19485 from openhands ...
# automations-debug
c
@fresh-machine-37269 please review 19485 from openhands repo and approve or request changes or comment as you think fit.
šŸ‘€ 1
f
šŸ¤– On it! View progress here: oss-agent-canvas.ngrok.dev/conversations/…
āœ… Done! Done — I've posted an APPROVE review on PR #19485 (fix(theme): make catalog removal and restriction feedback readable) at head
ff7cb14a8
. āœ… What I found: • The product change is sound. The seven fixed red/pink literals become theme-aware roles: `bg-danger-soft`/`text-danger-soft-foreground` in light themes and
feedback-error
with 4/14/24% tints in dark themes. I re-derived the contrast math independently from the head's actual tokens — light themes measure 4.87–5.05:1 (≄4.5 needed, previously ~1.4–1.7:1, so the fix is real), and dark themes measure 4.89–5.16:1 for badge text and 3.61–3.73:1 for the hovered remove icon (≄3 needed). All pass. • The earlier "blocking" review findings didn't hold up. They were based on a wrong card color for the Neo theme (
#282828
instead of the actual
#202020
); recomputing with the real palette values confirms the author's numbers, which they'd also cross-checked in live Chrome. • The new contrast test is genuine. It renders the real components, compiles the real stylesheet, and fails loudly if selectors can't be resolved; the mutation evidence in the PR description is consistent with the code as written. • CI on the head commit is green (ubuntu + windows test-and-build, PR description validation, skill isolation). I approved with two non-blocking notes for follow-up: the test's
paint()
helper doesn't handle non-transparent
oklab
color-mixes, and the dark badge inherits
--oh-color-danger
rather than
--oh-feedback-error
(they coincide by design today, but worth remembering if the tokens ever diverge).
c
do the same with 19728 please
do the same with 19728 please @fresh-machine-37269