Fix: Add Warn/Error/Abort Theming
All checks were successful
Quality Check / Linting (push) Successful in 21s
Quality Check / Linting (pull_request) Successful in 21s

This commit is contained in:
Dominik Säume 2025-01-09 03:46:35 +01:00
parent 7e01b0bc4b
commit 9976beada2

View file

@ -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),
));
}
}