renamed vars

This commit is contained in:
Stacy Kvernmo 2023-03-03 16:52:12 -06:00
parent c1483deeaa
commit d450ad7197

View File

@ -19,13 +19,13 @@
}
@function choose-contrast-color($color) {
$lightContrast: contrast($color, brand.$white);
$darkContrast: contrast($color, brand.$black);
$lightContrast: contrast($color, brand.$sl-color--white);
$darkContrast: contrast($color, brand.$sl-color--black);
@if $lightContrast > $darkContrast {
@return brand.$white;
@return brand.$sl-color--white;
} @else {
@return brand.$black;
@return brand.$sl-color--black;
}
}