From 9976beada2b9519c5a55f2a0b2f325e291e91985 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20S=C3=A4ume?= Date: Thu, 9 Jan 2025 03:46:35 +0100 Subject: [PATCH] Fix: Add Warn/Error/Abort Theming --- src/styles.scss | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/styles.scss b/src/styles.scss index a03f579..141b522 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -27,3 +27,17 @@ app-root { flex-direction: column; 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), + )); + } +}