bug(Theming): Unable to create a theme with CSS variables after v15 update #26066
Closed
1 task done
Labels
needs triage
This issue needs to be triaged by the team
Is this a regression?
The previous version in which this bug was not present was
14
Description
In v14 you could create a Material Theme dinamically by defining the palettes with CSS variables and later assign a color value to those variables. This is no longer possible in v15.
Reproduction
Check this Stackblitz: https://stackblitz.com/edit/components-issue-ml4ejy
Steps to reproduce:
Define a palette with CSS variables
Set CSS variable values in component
Expected Behavior
Ability to assign CSS variables values when defining a palette.
Actual Behavior
You can't define a theme with CSS variables.
Environment
The text was updated successfully, but these errors were encountered: