bug(@angular/material-experimental): Undefined variable $m3-spring-green-palette #28924
Closed
1 task
Labels
area: material/core
area: theming
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Is this a regression?
The previous version in which this bug was not present was
No response
Description
$m3-spring-green-palette
is not exported from@angular/material-experimental/_index.scss
bc of it it variable is used, during build error "Undefined variable." is thrown
Current
_index.scss
contains onlyReproduction
StackBlitz link: https://stackblitz.com/edit/stackblitz-starters-ngybdw?file=src%2Fglobal_styles.scss
Steps to reproduce:
@use "@angular/material-experimental" as matx
matx.$m3-spring-green-palette
Expected Behavior
$m3-spring-green-palette
should be exported and no errors during buildActual Behavior
✘ [ERROR] Undefined variable.
errorEnvironment
Angular CLI: 17.3.5
Node: 20.9.0
Package Manager: npm 10.5.0
OS: win32 x64
Angular: 17.3.5
... animations, cdk, cli, common, compiler, compiler-cli, core
... forms, material, material-experimental, platform-browser
... platform-browser-dynamic, router, service-worker
Package Version
@angular-devkit/architect 0.1703.5
@angular-devkit/build-angular 17.3.5
@angular-devkit/core 17.3.5
@angular-devkit/schematics 17.3.5
@angular/fire 17.0.1
@schematics/angular 17.3.5
ng-packagr 17.3.0
rxjs 7.8.1
typescript 5.4.5
zone.js 0.14.4
The text was updated successfully, but these errors were encountered: