maestro-server/bootue

View on GitHub
src/label/_mixins/_mixins.scss

Summary

Maintainability
Test Coverage
// Label

@import '../../_core/mixins';

@mixin label-variant($color) {
  background-color: $color;

  &[href] {
    &:hover,
    &:focus {
      background-color: darken($color, 10%);
    }
  }
}