mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-31 00:59:51 +02: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:
@@ -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%);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user