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
yangxu52 2023-01-04 12:22:46 +08:00
parent fa18776b4b
commit ba48bc576c
1 changed files with 2 additions and 2 deletions

View File

@ -124,11 +124,11 @@
}
@include m(dark) {
@include genTheme(100%, 100%, 0, 80%);
@include genTheme(100%, 100%, 0%, 80%);
}
@include m(plain) {
@include genTheme(0, 40%, 100%, 100%);
@include genTheme(0%, 40%, 100%, 100%);
}
@include m(medium) {