所以在角料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