Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] fix: use solid focus outline style #5305

Merged
merged 1 commit into from
May 26, 2022

Conversation

dlech
Copy link
Contributor

@dlech dlech commented May 16, 2022

Using auto for the outline style allows the user agent to override the outline style, leading to different results on different systems. This changes the style to solid so that all users will see the same style.

Fixes #0000

Checklist

  • Includes tests
  • Update documentation

Changes proposed in this pull request:

Reviewers should focus on:

Screenshot

Before:

image

After:

image

Using `auto` for the outline style allows the user agent to override
the outline style, leading to different results on different systems.
This changes the style to solid so that all users will see the same
style.
@adidahiya
Copy link
Contributor

@dlech which platforms are you testing on?

this doesn't seem to change anything for Buttons in Firefox (AnchorButtons are good, they use the solid style):

image

... but I don't see any regressions with this change, so it seems like a net positive 👍🏽

@adidahiya adidahiya changed the title core: use solid focus outline style [core] fix: use solid focus outline style May 26, 2022
@adidahiya adidahiya merged commit 2d52ca9 into palantir:develop May 26, 2022
@dlech dlech deleted the focus-solid branch May 26, 2022 15:15
@dlech
Copy link
Contributor Author

dlech commented May 26, 2022

I don't remember if I tried Firefox (pretty sure I did though). The screenshot is from Chromium installed from the Ubuntu snap on 22.04. So apparently the white outline is the system default selected by auto on my computer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants