Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/stylesheets/bootstrap/_functions.scss')
-rw-r--r--assets/stylesheets/bootstrap/_functions.scss4
1 files changed, 2 insertions, 2 deletions
diff --git a/assets/stylesheets/bootstrap/_functions.scss b/assets/stylesheets/bootstrap/_functions.scss
index a95ad43..1266d34 100644
--- a/assets/stylesheets/bootstrap/_functions.scss
+++ b/assets/stylesheets/bootstrap/_functions.scss
@@ -56,14 +56,14 @@
$yiq: (($r * 299) + ($g * 587) + ($b * 114)) / 1000;
- @if ($yiq >= 150) {
+ @if ($yiq >= $yiq-contrasted-threshold) {
@return $yiq-text-dark;
} @else {
@return $yiq-text-light;
}
}
-// Retreive color Sass maps
+// Retrieve color Sass maps
@function color($key: "blue") {
@return map-get($colors, $key);
}