bootstap 4.6 error with default latest theme

1 Answer 485 Views
General Discussions
bahaso
Top achievements
Rank 1
Iron
Iron
Iron
bahaso asked on 20 Jul 2021, 09:09 AM

Hi,

 

I use latest bootstrap default theme with

package.json

    "@progress/kendo-theme-bootstrap": "^4.36.0",
    "@progress/kendo-theme-default": "latest",

 

Error message is

- Generating browser application bundles (phase: building)...WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($padding-x, 2)

More info and automated migrator: https://sass-lang.com/d/slash-div

   ╷
73 │ $padding-x-sm: $padding-x / 2 !default;
   │                ^^^^^^^^^^^^^^
   ╵
    node_modules\@progress\kendo-theme-default\scss\_variables.scss 73:16  @import
    node_modules\@progress\kendo-theme-default\scss\all.scss 3:9           root stylesheet

DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($padding-y, 2)

More info and automated migrator: https://sass-lang.com/d/slash-div

 

How could i avoid it ?

 

Regards

1 Answer, 1 is accepted

Sort by
1
Stoyan
Telerik team
answered on 23 Jul 2021, 07:52 AM

Hi Bahaso,

Thanks for the provided information. I'll be happy to answer your question.

This warning comes with v1.33.0 of dart-sass which indicates upcoming changes in the dart-sass compiler v2.0.0 that are going to be a breaking change. 

I just want to lay down comfort that this warning will not get in the way of compiling the current sass. Please refer to the following Github issue which explains the topic in a very informative manner, and also will provide information about how to suppress this warning:

https://github.com/telerik/kendo-themes/issues/2505

If any more questions come to mind, please do not hesitate to address them to us.

Regards,
Stoyan
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
General Discussions
Asked by
bahaso
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Stoyan
Telerik team
Share this question
or