app-generator / react-argon-design

React Argon Design System - Full-Stack Version | AppSeed
https://appseed.us
MIT License
3 stars 0 forks source link

Runtime Warnings - Suppress if possible #3

Closed app-generator closed 1 year ago

app-generator commented 1 year ago

Hello @mominur-helios

The kit starts & is usable but many warnings bump in the terminal. These messages might affect in a bad way the user's trust.

Would be nice to suppress all, or at least a part.

Thank you!

My Env: Node 16, yarn

 Deprecation Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
<w> 
<w> Recommendation: math.div($spacer, 2) or calc($spacer / 2)
<w> 
<w> More info and automated migrator: https://sass-lang.com/d/slash-div
<w> 
<w> src\assets\scss\argon-design-system\variables.scss 352:32  @import
<w> src\assets\scss\argon-design-system-react.scss 23:9        root stylesheet
<w> 
<w> Deprecation Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
<w> 
<w> Recommendation: math.div(($r * 299) + ($g * 587) + ($b * 114), 1000) or calc((($r * 299) + ($g * 587) + ($b * 114)) / 1000)
<w> 
<w> More info and automated migrator: https://sass-lang.com/d/slash-div
<w>
<w> node_modules\bootstrap\scss\_functions.scss 57:9           color-yiq()
<w> src\assets\scss\argon-design-system\variables.scss 656:37  @import
<w> src\assets\scss\argon-design-system-react.scss 23:9        root stylesheet
<w>
<w> Deprecation Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
<w>
<w> Recommendation: math.div($input-padding-y, 2) or calc($input-padding-y / 2)
<w>
<w> More info and automated migrator: https://sass-lang.com/d/slash-div
<w>
<w> node_modules\bootstrap\scss\_variables.scss 493:80   @import
<w> node_modules\bootstrap\scss\bootstrap.scss 9:9       @import
<w> src\assets\scss\argon-design-system-react.scss 26:9  root stylesheet
<w>
<w> Deprecation Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
<w>
<w> Recommendation: math.div($spacer, 2) or calc($spacer / 2)
<w>
<w> More info and automated migrator: https://sass-lang.com/d/slash-div
<w>
<w> node_modules\bootstrap\scss\_variables.scss 706:37   @import
<w> node_modules\bootstrap\scss\bootstrap.scss 9:9       @import
<w> src\assets\scss\argon-design-system-react.scss 26:9  root stylesheet
<w>
<w> Deprecation $null: Passing a unit other than deg (25%) is deprecated.
<w>
<w> To preserve current behavior: $null / 1%
<w>
<w> See https://sass-lang.com/d/color-units
<w>
<w> src\assets\scss\argon-design-system\mixins\background-variant.scss 16:54  bg-gradient-variant()
<w> src\assets\scss\argon-design-system\utilities\backgrounds.scss 6:2        @import
<w> src\assets\scss\argon-design-system\utilities.scss 1:9                    @import
<w> src\assets\scss\argon-design-system\theme.scss 27:9                       @import
<w> src\assets\scss\argon-design-system-react.scss 29:9                       root stylesheet
<w>
<w> 62 repetitive deprecation warnings omitted.
<w>
<w> null
app-generator commented 1 year ago

Validated. Ty @mominur-helios Closing.