doc/themes/learn4/scss/spectre/mixins/_label.scss

12 lines
239 B
SCSS
Raw Normal View History

2020-11-14 11:24:49 +01:00
// Label base style
@mixin label-base() {
border-radius: $border-radius;
line-height: 1.25;
padding: .1rem .2rem;
}
@mixin label-variant($color: $light-color, $bg-color: $primary-color) {
background: $bg-color;
color: $color;
}