Closed
Description
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
Getting below error after migrating angular from v14 to v15rc
[build:demothemes] DEPRECATION WARNING[build:demothemes] : $weight: Passing a number without unit % (60) is deprecated.
To preserve current behavior: $weight * 1%
More info: https://sass-lang.com/d/function-units
╷
77 │ ┌ color.mix(
78 │ │ $value-indicator-color,
79 │ │ theme-color.prop-value(on-primary),
80 │ │ $value-indicator-opacity * 100
81 │ │ ),
│ └─────^
╵
[build:demothemes] node_modules\@material\slider\_slider-theme.scss 77:5 @use
node_modules\@angular\material\slider\_slider-theme.scss 3:1 @use
node_modules\@angular\material\core\density\private\_all-density.scss 25:1 @forward
node_modules\@angular\material\_index.scss 18:1 @use
libs\material\styles\all-theme.scss 1:1 @forward
libs\material\index.scss 4:1 @use
apps\ruf-app\src\app\demo.scss 27:1 @use
apps\ruf-app\src\app\custom-themes\gold.scss 1:1 root stylesheet
Reproduction
Steps to reproduce:
1.
2.
Expected Behavior
Throwing warning
Actual Behavior
Should not throw warning
Environment
- Angular: 15.0.0-rc.4
- CDK/Material: 15.0.0-rc.3
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): Windows