Skip to content
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

Merged
merged 17 commits into from
Oct 18, 2017
Merged

Conversation

gijsbotje
Copy link
Contributor

@gijsbotje gijsbotje commented Sep 13, 2017

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

updating fork of BS to v4-beta1
browsers-devices.md: fix typo. (twbs#23495)
update from official repo
function only returns a value, not the attribute itself
updated every use of the former mixin to use the new function
@chrispatterson
Copy link

This is definitely something that has tripped me up - like the changes.

@XhmikosR
Copy link
Member

There's also #23748, #23191 and #22996. Not sure what's the best.

@mdo

@mdo mdo removed the on-hold label Oct 4, 2017
@gijsbotje
Copy link
Contributor Author

@mdo are the hound-ci errors left really neccessary to be changed?

@XhmikosR
Copy link
Member

XhmikosR commented Oct 4, 2017

Please ignore Hound until #24221 is merged and revert the patch.

@XhmikosR
Copy link
Member

XhmikosR commented Oct 4, 2017

@gijsbotje: please revert your last patches.

@mdo: did you see #23943 (comment)?

@twbs twbs deleted a comment from houndci-bot Oct 4, 2017
@twbs twbs deleted a comment from houndci-bot Oct 4, 2017
@twbs twbs deleted a comment from houndci-bot Oct 4, 2017
@twbs twbs deleted a comment from houndci-bot Oct 4, 2017
@twbs twbs deleted a comment from houndci-bot Oct 4, 2017
@twbs twbs deleted a comment from houndci-bot Oct 4, 2017
@gijsbotje
Copy link
Contributor Author

@XhmikosR travis says
Expected "color" to come before "text-decoration" order/properties-order

@XhmikosR
Copy link
Member

XhmikosR commented Oct 4, 2017

@gijsbotje: that is right. You should address any Travis errors.

text-decoration: none;
color: color-yiq($bg);
Copy link
Member

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

@gijsbotje
Copy link
Contributor Author

@XhmikosR all done :)

@XhmikosR
Copy link
Member

XhmikosR commented Oct 4, 2017

Cool, waiting for @mdo to choose which one of those related PRs we should merge, see #23943 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants