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

Remove box-shadow as well as outline #9

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

philwolstenholme
Copy link

Hi @lindsayevans , here's a quick PR to reset the box-shadow as well as outline.

This is useful for users who use box-shadow to apply a focus ring instead of outline, Bootstrap 4 does this for example, and it's useful if you want a focus ring to follow the border-radius of the focusable element.

However, this might cause unintended consequences for some people who have box-shadows on elements such as buttons, so I'll understand completely if you chose not to reset this property for that reason.

For users who want this behaviour, you can load my fork from JSDelivr:

https://cdn.jsdelivr.net/gh/philwolstenholme/outline.js@master/outline.min.js

@lindsayevans
Copy link
Owner

Thanks Phil - I was hoping to add this in v2, but haven't quite got that ready for release yet.

I'll see if I can get this working in v1 behind a feature flag or something

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.

None yet

2 participants