diff options
author | gijsbotje <botje_gijs@hotmail.com> | 2017-09-13 18:32:44 +0300 |
---|---|---|
committer | gijsbotje <botje_gijs@hotmail.com> | 2017-09-13 18:32:44 +0300 |
commit | cc092272eefa0e89bebfc716c8df8214d2804c77 (patch) | |
tree | d0197492c2d344982651a4c5dfe49ed95b15a94f /assets | |
parent | cf004433e0312482a8c4918d559f38c19a3e14d9 (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.scss | 6 |
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); } } |