mirror of
https://github.com/danog/sass-site.git
synced 2024-11-30 04:29:17 +01:00
renamed vars
This commit is contained in:
parent
c1483deeaa
commit
d450ad7197
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user