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

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorgijsbotje <botje_gijs@hotmail.com>2017-09-13 18:32:44 +0300
committergijsbotje <botje_gijs@hotmail.com>2017-09-13 18:32:44 +0300
commitcc092272eefa0e89bebfc716c8df8214d2804c77 (patch)
treed0197492c2d344982651a4c5dfe49ed95b15a94f /assets
parentcf004433e0312482a8c4918d559f38c19a3e14d9 (diff)
modified the yiq to to an actual function
function only returns a value, not the attribute itself updated every use of the former mixin to use the new function
Diffstat (limited to 'assets')
-rw-r--r--assets/scss/_colors.scss6
1 files changed, 3 insertions, 3 deletions
diff --git a/assets/scss/_colors.scss b/assets/scss/_colors.scss
index d09d3a2c57..8d2825c570 100644
--- a/assets/scss/_colors.scss
+++ b/assets/scss/_colors.scss
@@ -4,21 +4,21 @@
@each $color, $value in $colors {
.swatch-#{$color} {
+ color: color-yiq($value);
background-color: #{$value};
- @include color-yiq($value);
}
}
@each $color, $value in $theme-colors {
.swatch-#{$color} {
+ color: color-yiq($value);
background-color: #{$value};
- @include color-yiq($value);
}
}
@each $color, $value in $grays {
.swatch-#{$color} {
+ color: color-yiq($value);
background-color: #{$value};
- @include color-yiq($value);
}
}