2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-20 20:00:36 +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
+2 -2
View File
@@ -1,11 +1,11 @@
@mixin badge-variant($bg) {
@include color-yiq($bg);
color: color-yiq($bg);
background-color: $bg;
&[href] {
@include hover-focus {
@include color-yiq($bg);
text-decoration: none;
color: color-yiq($bg);
background-color: darken($bg, 10%);
}
}