Skip to content

Instantly share code, notes, and snippets.

@alexander-schranz
Created February 17, 2016 21:44
Show Gist options
  • Select an option

  • Save alexander-schranz/9021dbe864194e64635b to your computer and use it in GitHub Desktop.

Select an option

Save alexander-schranz/9021dbe864194e64635b to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
$black: #000000;
$white: #ffffff;
$blue: #032459;
$grey: #cfcfcf;
$darkGrey: #9B9B9B;
$colors: (
"black": $black,
"white": $white,
"blue": $blue,
"grey": $grey,
"darkgrey": $darkGrey,
);
@each $name, $color in $colors {
.#{$name} {
color: $color;
}
.background-#{$name} {
color: $color;
}
}
.black {
color: #000000;
}
.background-black {
color: #000000;
}
.white {
color: #ffffff;
}
.background-white {
color: #ffffff;
}
.blue {
color: #032459;
}
.background-blue {
color: #032459;
}
.grey {
color: #cfcfcf;
}
.background-grey {
color: #cfcfcf;
}
.darkgrey {
color: #9B9B9B;
}
.background-darkgrey {
color: #9B9B9B;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment