Angular Material: Difference between revisions

 
(One intermediate revision by the same user not shown)
Line 155: Line 155:
}
}


 
// mat-color($primary, 50); is the lightest color
# mat-color($primary, 50); is the lightest color
// mat-color($primary, 900); is the darkest color
# mat-color($primary, 900); is the darkest color
// mat-color($primary, lighter); defaults to 100
# mat-color($primary, lighter); defaults to 100
// mat-color($primary); defaults to 500
# mat-color($primary); defaults to 500
// mat-color($primary, darker); defaults to 700
# mat-color($primary, darker); defaults to 700
// mat-color($primary, '500-contrast'); gets contrast colors for text
# mat-color($primary, '500-contrast'); gets contrast colors for text
</syntaxhighlight>
</syntaxhighlight>