element scss 编译报错

ercv8c1e  于 4个月前  发布在  其他
关注(0)|答案(3)|浏览(62)

7 │ color: mix($--tag-primary-color, $--color-white, $fontColorWeight);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

node_modules\element-ui\packages\theme-chalk\src\tag.scss 7:10 genTheme()
node_modules\element-ui\packages\theme-chalk\src\tag.scss 127:5 @content
node_modules\element-ui\packages\theme-chalk\src\mixins\mixins.scss 121:7 m()
node_modules\element-ui\packages\theme-chalk\src\tag.scss 126:3 @content
node_modules\element-ui\packages\theme-chalk\src\mixins\mixins.scss 83:5 b()
node_modules\element-ui\packages\theme-chalk\src\tag.scss 94:1 @import
node_modules\element-ui\packages\theme-chalk\src\select.scss 6:9 @import
node_modules\element-ui\packages\theme-chalk\src\pagination.scss 4:9 @import
node_modules\element-ui\packages\theme-chalk\src\index.scss 2:9 @import
stdin 25:9 root stylesheet

Deprecation Warning: $weight: Passing a number without unit % (0) is deprecated.

To preserve current behavior: $weight * 1%

More info: https://sass-lang.com/d/function-units


14 │ color: mix($--tag-primary-color, $--color-white, $fontColorWeight);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

node_modules\element-ui\packages\theme-chalk\src\tag.scss 14:12 genTheme()
node_modules\element-ui\packages\theme-chalk\src\tag.scss 127:5 @content
node_modules\element-ui\packages\theme-chalk\src\mixins\mixins.scss 121:7 m()
node_modules\element-ui\packages\theme-chalk\src\tag.scss 126:3 @content
node_modules\element-ui\packages\theme-chalk\src\mixins\mixins.scss 83:5 b()
node_modules\element-ui\packages\theme-chalk\src\tag.scss 94:1 @import
node_modules\element-ui\packages\theme-chalk\src\select.scss 6:9 @import
node_modules\element-ui\packages\theme-chalk\src\pagination.scss 4:9 @import
node_modules\element-ui\packages\theme-chalk\src\index.scss 2:9 @import
stdin 25:9 root stylesheet

"element-ui": "2.15.7",
"sass": "^1.49.10",
"sass-loader": "^7.1.0",

相关问题