0
私のマテリアルテーマには3色以上の色があります。 例えば、私はマテリアルコンポーネントに緑の成功の色を持たせるために$ theme-success:mat-pallete($ mat-green)をmd-checkbox color="success"
のように追加したいと思います。角材カスタムカラー
@import '[email protected]/material/theming';
@include mat-core();
$theme-primary: mat-palette($mat-blue);
$theme-accent: mat-palette($mat-yellow, A400, A200, A600);
$theme-warn: mat-palette($mat-red);
$theme: mat-light-theme($theme-primary, $theme-accent, $theme-warn);
.body-light {
@include angular-material-theme($theme);
}
これは可能ですか?
この非常に参考になりました。ありがとうございました! – Moshe