mirror of https://github.com/ElemeFE/element
fix a Sass Warning for sass method 'mix()' in packages\theme-chalk\src\tag.scss
warning:Deprecation $weight: Passing a number without unit % (0) is deprecated. process:add '%' after number '0' in custom method 'genTheme()' 's call, which use sass method 'mix()'pull/22338/head
parent
fa18776b4b
commit
ba48bc576c
|
@ -124,11 +124,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@include m(dark) {
|
@include m(dark) {
|
||||||
@include genTheme(100%, 100%, 0, 80%);
|
@include genTheme(100%, 100%, 0%, 80%);
|
||||||
}
|
}
|
||||||
|
|
||||||
@include m(plain) {
|
@include m(plain) {
|
||||||
@include genTheme(0, 40%, 100%, 100%);
|
@include genTheme(0%, 40%, 100%, 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
@include m(medium) {
|
@include m(medium) {
|
||||||
|
|
Loading…
Reference in New Issue