Repository navigation
fix(dialogs): soften the confirm button focus ring - #2049
Merged
l0gicgate merged 1 commit intoNov 3, 2026
Merged
Conversation
This was referenced Nov 4, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The focused confirm button in action dialogs drew a 2 px solid outline 1 px outside its own 1 px border. On the permanent-delete dialog, where the confirm button has initial focus, that read as a heavy double red border around the most dangerous action.
The confirm button's
:focus-visiblestate now uses a translucent 3 px halo (box-shadowspread,alpha(..., 0.28)) flush against the border instead of a detached solid outline. The danger variant uses@strata_danger, the default variant@strata_accent, so focus stays clearly visible for keyboard users without looking like a second border. The rule is shared with the color chooser's suggested-action button.Visual evidence
Captured in the QA session (
scripts/qa-drive.sh) with the confirm button focused, before (main) and after this change.Permanently delete (danger variant), button zoomed 3x
Compress (accent variant), button zoomed 3x
Full dialogs
How to test
Expected result: Both focused buttons show their single border with a soft, translucent halo of the same color, not a doubled border. Moving focus away removes the halo.
Related issue
Closes #2048