Skip to content

Instantly share code, notes, and snippets.

@hxgdzyuyi
Last active Aug 29, 2015
Embed
What would you like to do?
body {
color: #ef9a9a;
}
$colors = (#ffebee #ffcdd2 #ef9a9a #e57373 #ef5350 #f44336 #e53935 #d32f2f #c62828 #b71c1c #ff8a80 #ff5252 #ff1744 #d50000)
for color, index in $colors
define('$color' + '_' + index, $colors[index])
body
color: $color_2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment