As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables. Recommendation: add `$E: null` `$B: null` at the stylesheet root.

#2430

Issue Details

9 months ago
No assignee
needs info
harshi9959harshi9959
opened 9 months ago
Author

Previously I was encountering Legacy JS API deprecation warnings but after resolving those am getting the warnings like below

Deprecation Warning: As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables. Recommendation: add `$B: null` at the stylesheet root. 59 │ $B: $namespace + $common-separator + $block !global; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ node_modules/element-plus/theme-chalk/src/mixins/mixins.scss 59:3 b() node_modules/element-plus/theme-chalk/src/icon.scss 24:1 @use node_modules/element-plus/theme-chalk/src/base.scss 3:1 @use node_modules/element-plus/theme-chalk/src/index.scss 1:1 @use assets/scss/element/index.scss 3:1 root stylesheet Deprecation Warning: As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables. Recommendation: add `$E: null` at the stylesheet root. 67 │ $E: $element !global; │ ^^^^^^^^^^^^^^^^^^^^ node_modules/element-plus/theme-chalk/src/mixins/mixins.scss 67:3 e() node_modules/element-plus/theme-chalk/src/alert.scss 63:3 @content node_modules/element-plus/theme-chalk/src/mixins/mixins.scss 62:5 b() node_modules/element-plus/theme-chalk/src/alert.scss 5:1 @use node_modules/element-plus/theme-chalk/src/index.scss 4:1 @use assets/scss/element/index.scss 3:1 root stylesheet