Angular Material: Difference between revisions
(2 intermediate revisions by the same user not shown) | |||
Line 21: | Line 21: | ||
}) | }) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | |||
==Themes== | ==Themes== | ||
Line 154: | Line 155: | ||
} | } | ||
// mat-color($primary, 50); is the lightest color | |||
// mat-color($primary, 900); is the darkest color | |||
// mat-color($primary, lighter); defaults to 100 | |||
// mat-color($primary); defaults to 500 | |||
// mat-color($primary, darker); defaults to 700 | |||
// mat-color($primary, '500-contrast'); gets contrast colors for text | |||
</syntaxhighlight> | </syntaxhighlight> | ||