AxaFrance / react-toolkit

Flexible components html + css + react using BEM convention. Maybe, you can call it "Design System" !
https://axafrance.github.io/design-system/
MIT License
97 stars 63 forks source link

Slash division in sass is deprecated #922

Closed JLou closed 2 years ago

JLou commented 3 years ago

Issue and Steps to Reproduce

Division using / are deprecated and going to be removed in dart sass 2.0.0

When you build an app with sass 1.35.1, you get a warning saying : "DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0."

This issue appears mainly with the file @axa-fr\react-toolkit-core\src\common\scss_variables.scss

Versions

1.4.0

Screenshots

image

Additional Details

there is a tool to automate the change here : https://sass-lang.com/documentation/breaking-changes/slash-div

samuel-gomez-axa commented 2 years ago

done for vnext (2.0.0-alpha.4)