Fix: Add Warn/Error/Abort Theming
This commit is contained in:
parent
7e01b0bc4b
commit
9976beada2
1 changed files with 14 additions and 0 deletions
|
@ -27,3 +27,17 @@ app-root {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
&.abort, &.error, &.warn {
|
||||||
|
@include mat.button-overrides((
|
||||||
|
text-label-text-color: var(--mat-sys-error),
|
||||||
|
text-ripple-color: var(--mat-sys-error),
|
||||||
|
text-state-layer-color: var(--mat-sys-error),
|
||||||
|
filled-label-text-color: var(--mat-sys-on-error),
|
||||||
|
filled-container-color: var(--mat-sys-error),
|
||||||
|
filled-ripple-color: var(--mat-sys-on-error),
|
||||||
|
filled-state-layer-color: var(--mat-sys-on-error),
|
||||||
|
));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue