所以在角料2,我有我的主题设置如何从主面板获得色相/颜色较浅
$store-primary: mat-palette($mat-storecast);
$store-accent: mat-palette($mat-pink, A200, A100, A400);
// The warn palette is optional (defaults to red).
$store-warn: mat-palette($mat-red);
// Create the theme object (a Sass map containing all of the palettes).
$store-theme: mat-light-theme($store-primary, $store-accent, $store-warn);
// Include theme styles for core and each component used in your app.
// Alternatively, you can import and @include the theme mixins for each component
// that you are using.
@include angular-material-theme($store-theme);
我无法从他们的文档弄清楚什么是如何获得不同色调的颜色从主调色板上即按钮上的工具栏上。
<button md-mini-fab (click)="zoomIn()" color="primary">
<md-icon>add</md-icon>
</button>
现在看来似乎只能理解颜色=初级或颜色=口音etc..how你指定我想用初级-100或主-500等?
好的,谢谢伊恩,我想这个会在不久的将来加入。 – StevieB