mirror of
https://github.com/picocss/pico
synced 2025-08-16 06:16:45 +00:00
style: change link :focus to :focus-visible
This commit is contained in:
parent
678c41deb9
commit
2645a769d8
@ -29,7 +29,7 @@
|
||||
#{$✨}text-decoration: underline;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
&:focus-visible {
|
||||
#{$✨}background-color: var(#{$✨}primary-focus);
|
||||
}
|
||||
|
||||
@ -44,7 +44,7 @@
|
||||
#{$✨}underline: var(#{$✨}secondary-underline-hover);
|
||||
}
|
||||
|
||||
&:focus {
|
||||
&:focus-visible {
|
||||
#{$✨}background-color: var(#{$✨}secondary-focus);
|
||||
}
|
||||
}
|
||||
@ -59,7 +59,7 @@
|
||||
#{$✨}underline: var(#{$✨}contrast-underline-hover);
|
||||
}
|
||||
|
||||
&:focus {
|
||||
&:focus-visible {
|
||||
#{$✨}background-color: var(#{$✨}contrast-focus);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user