Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEPRECATION WARNING: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0. #73

Open
RodrigoDornelles opened this issue Jan 7, 2022 · 0 comments

Comments

@RodrigoDornelles
Copy link

DEPRECATION WARNING: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($spacer, 4) or calc($spacer / 4)

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

╷
311 │ 1: $spacer / 4,
│ ^^^^^^^^^^^
╵
volt/_variables.scss 311:8 @import
- 24:9 root stylesheet

DEPRECATION WARNING: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($spacer, 2) or calc($spacer / 2)

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

╷
312 │ 2: $spacer / 2,
│ ^^^^^^^^^^^
╵
volt/_variables.scss 312:8 @import
- 24:9 root stylesheet

Error: (0: 0, 1: 0.25rem, 2: 0.5rem, 3: 1rem, 4: 1.5rem, 5: 3rem, 6: 5rem, 7: 8rem, 8: 10rem, 9: 11rem, 10: 14rem, 11: 16rem, 12: 20rem, "sm": 1rem, "md": 2rem, "lg": 4rem, "xl": 8rem) isn't a valid CSS value.
╷
328 │ $negative-spacers: if($enable-negative-margins, negativify-map($spacers), null) !default;
│ ^^^^^^^^
╵
volt/_variables.scss 328:64 @import
- 24:9 root stylesheet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant