From 5b4be3cfe897859ef7fd115dec907f4daecf0bb0 Mon Sep 17 00:00:00 2001 From: mektpoy Date: Wed, 23 Sep 2026 18:21:14 +0800 Subject: [PATCH] fix(client): align the icon button's ring with the shared ring colour Master's newest agent-preset sheet carries both the new `.helpButton` and the retained `.iconButton`, whose focus ring still declared the brand token directly. The stylesheet corpus spec rejects that form, so it now reads `--dsw-focus-ring-color` with the brand-token fallback. --- .../ui-agent-preset/src/client/AgentPresetSection.module.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/ui-agent-preset/src/client/AgentPresetSection.module.css b/packages/client/ui-agent-preset/src/client/AgentPresetSection.module.css index eedbaa9dd2..43cdc449d9 100644 --- a/packages/client/ui-agent-preset/src/client/AgentPresetSection.module.css +++ b/packages/client/ui-agent-preset/src/client/AgentPresetSection.module.css @@ -338,7 +338,7 @@ } .iconButton:focus-visible { - outline: 2px solid var(--dsw-alias-brand-primary); + outline: var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color, var(--dsw-alias-brand-primary)); outline-offset: -1px; }