From 9bf9b1530b84869b8dcc925c6cbae273d03ca937 Mon Sep 17 00:00:00 2001 From: tomson Date: Mon, 8 Apr 2024 12:35:43 +0200 Subject: [PATCH] [ACS-7448] Fix notifications colors, move them from adf to aca (#3771) --- projects/aca-content/src/lib/ui/theme.scss | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/projects/aca-content/src/lib/ui/theme.scss b/projects/aca-content/src/lib/ui/theme.scss index 721a46caf4..e6c7fdfb3d 100644 --- a/projects/aca-content/src/lib/ui/theme.scss +++ b/projects/aca-content/src/lib/ui/theme.scss @@ -142,8 +142,28 @@ mat-toolbar.mat-toolbar.mat-toolbar-single-row { color: var(--theme-secondary-text); } -adf-snackbar-content { +mat-snack-bar-container { .mat-mdc-button.mat-unthemed { --mdc-text-button-label-text-color: #fff; } + + .adf-warning-snackbar, + .adf-info-snackbar, + .adf-error-snackbar { + --mat-mdc-snack-bar-button-color: #fff; + --mdc-snackbar-supporting-text-color: #fff; + --mdc-text-button-label-text-color: #fff; + } + + .adf-warning-snackbar { + --mdc-snackbar-container-color: var(--theme-accent-color); + } + + .adf-info-snackbar { + --mdc-snackbar-container-color: var(--theme-primary-color); + } + + .adf-error-snackbar { + --mdc-snackbar-container-color: var(--theme-warn-color); + } }