2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

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
This commit is contained in:
gijsbotje
2017-09-13 17:32:44 +02:00
parent cf004433e0
commit cc092272ee
4 changed files with 10 additions and 10 deletions
+3 -3
View File
@@ -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);
}
}