.custom-style { color: map-get($mat-red, 500); }. 如此一來就能取得 #f44336 的色碼啦! 另外在Angular Material中還有定義一個 mat-color() 方法,方便我們設定 ...
確定! 回上一頁