现在看来,我只能在提供者中定义3个色调,而不允许创建一个可以用作class="md-primary md-hue-4"的名为hue-4的新色调。/ by default use shade 400 from the pink palette for primary 'hue-1': '100', // use shade 100 for the <co
现在我们遇到了一个主题的scss问题…… @use '~@angular/material' as mat;
@if type-of($hue) == number and $hue >= 0 and $hue <= 1 {
@return mat.get-color-from-palette($palette, de