Adding class for colors

This commit is contained in:
Marc Ducobu
2015-08-25 18:29:34 +02:00
parent 251f51bab2
commit 8c3ea5b866
3 changed files with 58 additions and 4 deletions

View File

@@ -1,3 +1,4 @@
$chill-blue: #334d5c;
$chill-green: #43b29d;
$chill-green-dark: #328474;
@@ -7,12 +8,21 @@ $chill-red: #df4949;
$chill-gray: #ececec;
$chill-beige :#cabb9f;
$chill-pink :#dd506d;
$chill-dark-gray: #333333;
$chill-light-gray: #b2b2b2;
$color-name: "blue" "green" "green-dark" "yellow" "orange" "red" "gray" "beige" "pink" "dark-gray" "light-gray";
$color-code: #334d5c #43b29d #328474 #eec84a #e2793d #df4949 #ececec #cabb9f #dd506d #333333 #b2b2b2;
@for $i from 1 through length($color-name) {
.chill-#{nth($color-name, $i)} {
color: nth($color-code, $i);
}
}
$orange: $chill-orange;
$red: $chill-red;
$green: $chill-green;
$blue: $chill-blue;
$yellow: $chill-yellow;
$yellow: $chill-yellow;