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

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
justas
Posts: 2
Joined: 07 Apr 2021, 11:16

22 Sep 2021, 21:45

Hello,

in latest diamond version I'm getting this warning when compilling sass. Can you fix it?

Code: Select all

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

Recommendation: math.div(nth($inputPadding, 1), 2)

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

          padding: nth($inputPadding, 1)/2 nth($inputPadding, 2);
                     ^^^^^^^^^^^^^^^^^^^^^^^
    resources/diamond/sass/theme/designer/components/input/_autocomplete.scss 13:18  @import
    resources/diamond/sass/theme/designer/_components.scss 6:9                       @import
    resources/diamond/sass/theme/_theme_light.scss 3:9                               @import
    resources/diamond/theme/purple/theme-light.scss 10:9                             @import
    resources/css/App.scss 3:9                                                       root stylesheet


tugce.kucukoglu
Posts: 560
Joined: 23 Oct 2020, 09:28

27 Sep 2021, 14:42

Hello,

Yes, it is a warning. It doesn't break anything. But I'll try to fix it.

Thanks for your understanding.

Best,

Post Reply

Return to “Diamond - PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests