Repository navigation
Conversation
…he keyboard In the dark theme the Delete Session dialog set a soft red Delete beside a Cancel with no fill at all: the Default button's accent grey sits at or under the overlay's own tone, so Cancel was only its label. And the focus ring, a 2px spread shadow on a fully rounded wrapper, painted a blue pill under that translucent fill the moment the dialog opened. A button on `Plane::Overlay` tints the foreground for its neutral fill, as Destructive tints its red, so the two read as a pair on the card in either theme. The alert dialog's buttons and the prompt dialog's Cancel sit on it. The ring is a 2px border on the button's own corner, and it shows once Tab or an arrow key has moved the focus, as `:focus-visible` did. Opened by mouse, Cancel is still the default (Return cancels) but reads as just a button.
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.
In the dark theme, Cancel in a confirm dialog had no visible fill next to Delete's soft red one, and a blue pill-shaped focus ring sat under it as soon as the dialog opened. Dialog buttons now get a fill tinted from the foreground, the same way Delete's fill is tinted red, and the focus ring is a 2px outline that only appears after Tab or an arrow key.
How to test
Screenshots
Checklist
cargo check --workspace --all-targetsand the changed crates' tests pass