-
Notifications
You must be signed in to change notification settings - Fork 3
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
Make focus style easier to change #220
Comments
Noticed an errant comma in that file as well at line 64: transition: 0.1s ease-in-out, box-shadow, 0.1s ease-in-out background-color; |
Great. #219 should land first, but I think we should still address this issue afterwards. Stay tuned! |
@jfrankl with the latest release there is a way to target a specific element's focus. Within the theme object
So the final theme object might look like:
|
Right now the
:focus
style of a box-shadow is difficult to override or change:https://github.com/raster-foundry/blasterjs/blob/develop/packages/core/components/button/index.js#L193
I want to remove the box-shadow. I can't figure out a way to do that without also removing box-shadows on buttons that I want to be there, that are part of the default, non-focus style.
Consider using outline instead of box-shadow, because outline is less commonly used for styling outside of focus.
The text was updated successfully, but these errors were encountered: