-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
change yiq mixin to an actual function #23943
Conversation
updating fork of BS to v4-beta1
browsers-devices.md: fix typo. (twbs#23495)
update from official repo
update forked v4-dev
function only returns a value, not the attribute itself updated every use of the former mixin to use the new function
This is definitely something that has tripped me up - like the changes. |
@mdo are the hound-ci errors left really neccessary to be changed? |
Please ignore Hound until #24221 is merged and revert the patch. |
@gijsbotje: please revert your last patches. @mdo: did you see #23943 (comment)? |
@XhmikosR travis says |
@gijsbotje: that is right. You should address any Travis errors. |
scss/mixins/_badge.scss
Outdated
text-decoration: none; | ||
color: color-yiq($bg); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here's your error @gijsbotje
@XhmikosR all done :) |
Cool, waiting for @mdo to choose which one of those related PRs we should merge, see #23943 (comment). |
to me it seemed weird that this is a mixin that always returns the line
color: #xxx;
i modified it to be an actual function and only return a value to be used in any property
also updated every use of the 'function' to use the actual function