Make use of :focus-visible when needed.

This commit is contained in:
Fredrik Jonsson 2023-03-08 08:18:25 +01:00
commit 308e9d961b
2 changed files with 3 additions and 3 deletions

View file

@ -8,12 +8,12 @@
text-decoration: none; text-decoration: none;
} }
&:focus, &:focus-visible,
&:hover { &:hover {
.icon-link { .icon-link {
opacity: .3; opacity: .3;
&:focus, &:focus-visible,
&:hover { &:hover {
opacity: 1; opacity: 1;
} }

View file

@ -71,7 +71,7 @@
} }
&:hover svg, &:hover svg,
&:focus svg { &:focus-visible svg {
fill: var(--color-text-bg); fill: var(--color-text-bg);
} }
} }