We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
a11y-ContrastOutput
@return
It's usually better to have a @return statement no matter what. Could be fail or aaa, depending on which way you are choosing.
fail
aaa
@function a11y-ContrastOutput($number) { @each $level, $range in $A11Y--Contrast-Levels { @if $number >= nth($range, 1) and $number < nth($range, 2) { @return $level; } } @return nth(map-keys($A11Y--Contrast-Levels), 1); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It's usually better to have a
@return
statement no matter what. Could befail
oraaa
, depending on which way you are choosing.The text was updated successfully, but these errors were encountered: