One file was OK when we only had a couple of mixins, but recently we've been adding quite a few. We can now avoid a SCSS Lint warning by excluding just the file with the affected mixin.
20 lines
346 B
SCSS
20 lines
346 B
SCSS
%button {
|
|
font-size: $base-font-size;
|
|
|
|
&:focus,
|
|
&:hover {
|
|
text-decoration: none !important;
|
|
}
|
|
}
|
|
|
|
@mixin regular-button($color: $brand) {
|
|
@include button($background: $color);
|
|
@extend %button;
|
|
}
|
|
|
|
@mixin hollow-button($color: $link) {
|
|
@include button($style: hollow, $background: $color);
|
|
@extend %button;
|
|
margin-bottom: 0;
|
|
}
|