Created
January 5, 2014 10:43
-
-
Save webpapaya/8266695 to your computer and use it in GitHub Desktop.
most awesome sass code i ever wrote for my current project food-mesh
This file contains 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
$colorTypes: (low, medium, high, ultra-high); | |
@for $i from 0 to length($colorTypes) { | |
&.color-amount-#{unquote(nth($colorTypes, $i+1))} { | |
fill: mix(#19436B, #50B694, $i*length($colorTypes)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment