aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorgijsbotje <[email protected]>2017-09-13 17:32:44 +0200
committergijsbotje <[email protected]>2017-09-13 17:32:44 +0200
commitcc092272eefa0e89bebfc716c8df8214d2804c77 (patch)
treed0197492c2d344982651a4c5dfe49ed95b15a94f /assets
parentcf004433e0312482a8c4918d559f38c19a3e14d9 (diff)
downloadbootstrap-cc092272eefa0e89bebfc716c8df8214d2804c77.tar.xz
bootstrap-cc092272eefa0e89bebfc716c8df8214d2804c77.zip
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 d09d3a2c5..8d2825c57 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);
}
}