amy-d
3/23/2017 - 3:49 PM

Button Colors

Button Colors

$buttons:   (success, green, white),
            (warning, yellow, black),
            (danger, red, white);
 
/* For each key in the map, created an own class */
@each $name, $background, $text in buttons {
  .button--#{$name} {
    background: $background;
    color: $text;
  }
}