-
-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
👻 Brief Description
I'm not sure if I'm missing something, but the mixin mat-css-set-palette-defaults
as described in the readme is not generating any code:
Input:
/**
MATERIAL CSS DEFAULTS
*/
@include mat-css-vars.mat-css-set-palette-defaults($md-primary, "primary");
@include mat-css-vars.mat-css-set-palette-defaults($md-accent, "accent");
@include mat-css-vars.mat-css-set-palette-defaults($md-warn, "warn");
Output:
/**
MATERIAL CSS DEFAULTS
*/
The result is, that it's not using my defined palette per default.
It uses some palette but I can't tell which one on first glance.
🥞 Affected version
5.0.2
(probably still exists in 6.0.1 since the mixin didn't change)
🚓 Expected behavior
The mat-css-set-palette-defaults mixin should generate default css variables with the given palette.
➕ Additional context
Looking at the current implementation, I'm wondering how this should work, since the $new-map is never actually written to the file:
@mixin mat-css-set-palette-defaults($css-var-map, $paletteType: "primary") { |
Metadata
Metadata
Assignees
Labels
No labels