primary button style for confirm dialog (#3167)

This commit is contained in:
Denys Vuika 2018-04-10 17:21:08 +01:00 committed by Eugenio Romano
parent 2a5fe7ad28
commit c214054767

View File

@ -28,7 +28,7 @@ import { MAT_DIALOG_DATA } from '@angular/material';
<mat-dialog-actions> <mat-dialog-actions>
<span class="spacer"></span> <span class="spacer"></span>
<button mat-button [mat-dialog-close]="true">{{ yesLabel | translate }}</button> <button mat-button [mat-dialog-close]="true">{{ yesLabel | translate }}</button>
<button mat-button [mat-dialog-close]="false" cdkFocusInitial>{{ noLabel | translate }}</button> <button mat-button color="primary" [mat-dialog-close]="false" cdkFocusInitial>{{ noLabel | translate }}</button>
</mat-dialog-actions> </mat-dialog-actions>
`, `,
styles: [` styles: [`