Created
June 15, 2013 01:32
-
-
Save abhoopathy/5786400 to your computer and use it in GitHub Desktop.
Mixins for quick browser prototyping in greyscale. Each mixin accepts maps values 1-10 to greyscale values from white to black, which is better than fumbling for colors, memorizing hex, or using lighten/darken mixins also helps you remember what needs changing later.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* https://gist.github.com/abhoopathy/5786400 | |
*/ | |
wireframe-bg($x) | |
$val = (255 - ($x*255 / 10)) | |
background-color rgb($val,$val,$val) | |
wireframe-txt($x) | |
$val = (255 - ($x*255 / 10)) | |
color rgb($val,$val,$val) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment