Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Angular Material 自定义主题文档中,我们将原色设置为靛蓝,如下所示:
$candy-app-primary: mat-palette($mat-indigo);
我在哪里可以引用该mat-palette()函数的所有可接受的参数?我想知道$mat-indigo上面例子中所有可能的颜色名称。在文档中找不到它。
mat-palette()
$mat-indigo
谢谢。
您可以在角材料的源文件中找到所有预定义的颜色。
和
如果您想要自定义主题,可以使用颜色生成器,例如mcg.mbitson.com