liuxiaolong
2019-05-06 2ab7a76a38fbf8fa107bf6371f5410ba54e1d394
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
@import "~@/vendor/styles/_appwork/functions";
 
@mixin vue-input-tag-validation-state($state, $color) {
  .is-#{$state} .vue-input-tag-wrapper,
  .vue-input-tag-wrapper.is-#{$state} {
    border-color: $color;
  }
}
 
@mixin vue-input-tag-variant($background, $color: null) {
  $color: if($color, $color, yiq($background));
 
  .input-tag {
    background: $background !important;
    color: $color !important;
  }
}
 
@mixin vue-input-tag-theme($background, $color: null) {
  $color: if($color, $color, yiq($background));
 
  .input-tag-primary {
    @include vue-input-tag-variant($background, $color);
  }
}