Used upon areas we usually fade-out to provide a focused user
experience. If the user desires more contrasted we prevent this
behaviour using the prefers-contrast media query.
Related to #2634
&:hover, &:focus-within {
opacity: 1;
}
+ @media (prefers-contrast: more) {
+ opacity: 1;
+ }
}
/**
&:hover, &:focus-within {
opacity: 1;
}
+ @media (prefers-contrast: more) {
+ opacity: 1;
+ }
}
@include smaller-than($l) {
&:focus-within {
opacity: 1;
}
+ @media (prefers-contrast: more) {
+ opacity: 1;
+ }
}
}
text-decoration: none;
opacity: 1;
}
+ @media (prefers-contrast: more) {
+ opacity: 1;
+ }
}
\ No newline at end of file