mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-11 18:02:28 +03:00
add vars for yiq color contrast function
This commit is contained in:
@@ -57,9 +57,9 @@
|
||||
$yiq: (($r * 299) + ($g * 587) + ($b * 114)) / 1000;
|
||||
|
||||
@if ($yiq >= 150) {
|
||||
@return #111;
|
||||
@return $yiq-text-dark;
|
||||
} @else {
|
||||
@return #fff;
|
||||
@return $yiq-text-light;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user