Byteclaw / visage

Visage design system
https://visage.design
MIT License
12 stars 3 forks source link

Investigate usage of outline for focus styles #679

Open michalkvasnicak opened 3 years ago

michalkvasnicak commented 3 years ago

We can create global outline style and try to use :focus-within { outline: auto; }. This should apply outline style to parent element if some child is focused. With global focus style we can control how it looks like so we can get rid of boxShadows which are hard to use.

Also we need to check whether outline: auto works in all browsers.