fix: revert aria-current='false'

This commit is contained in:
Lucas Larroche 2023-04-02 10:06:26 +07:00
parent 65bedda83a
commit 395ceca401
5 changed files with 33 additions and 39 deletions

View file

@ -23,7 +23,7 @@
text-decoration var(#{$}transition), box-shadow var(#{$}transition);
}
&:is([aria-current], :hover, :active, :focus):not([aria-current="false"]) {
&:is([aria-current], :hover, :active, :focus) {
#{$✨}color: var(#{$}primary-hover);
#{$✨}underline: var(#{$}primary-underline-hover);
#{$✨}text-decoration: underline;
@ -39,7 +39,7 @@
#{$✨}color: var(#{$}secondary);
#{$✨}underline: var(#{$}secondary-underline);
&:is([aria-current], :hover, :active, :focus):not([aria-current="false"]) {
&:is([aria-current], :hover, :active, :focus) {
#{$✨}color: var(#{$}secondary-hover);
#{$✨}underline: var(#{$}secondary-underline-hover);
}
@ -50,7 +50,7 @@
#{$✨}color: var(#{$}contrast);
#{$✨}underline: var(#{$}contrast-underline);
&:is([aria-current], :hover, :active, :focus):not([aria-current="false"]) {
&:is([aria-current], :hover, :active, :focus) {
#{$✨}color: var(#{$}contrast-hover);
#{$✨}underline: var(#{$}contrast-underline-hover);
}