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

Deprecated gradient mixin #27

Merged
merged 1 commit into from
Mar 29, 2015
Merged

Conversation

iamphill
Copy link
Contributor

Kept the mixin but added in a warning.

@@ -10,7 +10,8 @@
white-space: nowrap;
vertical-align: middle;
cursor: pointer;
@include gradient(#fcfcfc, #eee);
background-color: #eee;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Color literals like #eee should only be used in variable declarations; they should be referred to via variable everywhere else.

@mdo
Copy link
Contributor

mdo commented Mar 24, 2015

Apologies for the color literals errors—I've updated our Hound config to ignore them.

Small typo in your commit message and issue title though—you want deprecated, but you've used depreciated. If you could, please change it and push again? <3

@iamphill iamphill changed the title Depreciated gradient mixin Deprecated gradient mixin Mar 24, 2015
@iamphill
Copy link
Contributor Author

@mdo Wow that was bad a mistake...

Fixed 👍

also, glad you mentioned it was an issue with Hound. I was going to spend time putting the colours into vars...

@mdo
Copy link
Contributor

mdo commented Mar 27, 2015

Howdy—thanks for the pull request, @iamphill!

Before we can merge your changes, we need you to review our Contributor License Agreement (CLA). We think of CLAs as an open source software license between you and the project, letting us and other users know that we have permission to use the code you contribute.

At the bottom of the pull request, you'll see the note about a failed test. Just click the Details link, review the CLA, and sign off at the bottom.

Questions? Just holler—I'm here to help :).

<3

@iamphill
Copy link
Contributor Author

Rebased with upstream ❤️

@mdo mdo added this to the v2.0.3 milestone Mar 29, 2015
mdo added a commit that referenced this pull request Mar 29, 2015
@mdo mdo merged commit 0584f73 into primer:master Mar 29, 2015
@mdo mdo mentioned this pull request Mar 29, 2015
@mdo
Copy link
Contributor

mdo commented Mar 29, 2015

Thanks!

emilybrick pushed a commit that referenced this pull request Oct 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants