diff --git a/src/styles/base/_outline.scss b/src/styles/base/_outline.scss index 3be8ea9..6960079 100644 --- a/src/styles/base/_outline.scss +++ b/src/styles/base/_outline.scss @@ -12,3 +12,13 @@ -webkit-box-shadow: 0 0 0 2px white; box-shadow: 0 0 0 2px white; } + +*:focus, +*:focus-visible { + @include outline; +} + +*:focus:not(:focus-visible) { + outline: none; + box-shadow: none; +}