Fix Dart Sass deprecation warnings
- Replace color.red/green/blue() with color.channel() in styles.scss - Replace deprecated if() ternary with @if/@else in _variants.scss - Silence @import deprecation in angular.json (Bootstrap 5.x uses @import throughout; migrating to @use breaks the variable override mechanism)
This commit is contained in:
+4
-1
@@ -44,7 +44,10 @@
|
||||
],
|
||||
"styles": ["src/styles/styles.scss"],
|
||||
"stylePreprocessorOptions": {
|
||||
"includePaths": ["src/styles"]
|
||||
"includePaths": ["src/styles"],
|
||||
"sass": {
|
||||
"silenceDeprecations": ["import"]
|
||||
}
|
||||
},
|
||||
"scripts": [],
|
||||
"browser": "src/main.ts"
|
||||
|
||||
Reference in New Issue
Block a user