Is this a regression?
The previous version in which this bug was not present was
No response
Description
Using external SCSS files, all mat.*-overrides() work and generate tokens, but using inline styles, it does not work.
NOTE: I've created 2 Stackblitz projects with and without Tailwind CSS. and It's not related with it, because we get the same result
Reproduction
StackBlitz link with tailwind: https://stackblitz.com/edit/stackblitz-starters-grfvrcyg
StackBlitz link without tailwind: https://stackblitz.com/edit/stackblitz-starters-dyspj7b7
Steps to reproduce:
- Open Stackblitz link
- Both components have same styles, but one is inline and the other in a file
Expected Behavior
Both inline and style files should works and generate the same styles code
Actual Behavior
Inline does not generate tokens
A component with inline style, generates empty host styles
A component with external style file, generates host styles well
Environment
- Angular: ^21.0.0
- CDK/Material: ^21.0.0
- Browser(s): All
- Operating System (e.g. Windows, macOS, Ubuntu): checked on Windows
Is this a regression?
The previous version in which this bug was not present was
No response
Description
Using external SCSS files, all mat.*-overrides() work and generate tokens, but using inline styles, it does not work.
NOTE: I've created 2 Stackblitz projects with and without Tailwind CSS. and It's not related with it, because we get the same result
Reproduction
StackBlitz link with tailwind: https://stackblitz.com/edit/stackblitz-starters-grfvrcyg
StackBlitz link without tailwind: https://stackblitz.com/edit/stackblitz-starters-dyspj7b7
Steps to reproduce:
Expected Behavior
Both inline and style files should works and generate the same styles code
Actual Behavior
Inline does not generate tokens
A component with inline style, generates empty host styles
A component with external style file, generates host styles well
Environment