Skip to content

Instantly share code, notes, and snippets.

@jonnykates
Created April 22, 2018 16:34
Show Gist options
  • Save jonnykates/69cd4eddb54e3449726d4b1d3e1edb22 to your computer and use it in GitHub Desktop.
Save jonnykates/69cd4eddb54e3449726d4b1d3e1edb22 to your computer and use it in GitHub Desktop.
a, a:link, a:visited {
@while(contrast-checker($link-colour, #ffffff) == "false") {
$link-colour: darken($link-colour, 1%);
@if(contrast-checker($link-colour, #ffffff) == "true") {
color: $link-colour;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment