I need to use this mat-button in Angular project, how can I usee customized color instead of accent, primary, etc.
<button (click)="gotoDashboardHome()" mat-raised-button color="accent" class="centered-button">
<mat-icon>reply</mat-icon>
<span class="button-text">Back</span>
</button>
.centered-button {
display: flex;
align-items: center;
justify-content: center;
padding: 8px 16px;
}
.button-text {
margin-left: 5px;
font-size: 14px;
}
Customizing mat-buttom colors
New contributor
Avinash Gaikwad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.