Skip to content

Commit

Permalink
[ACS-7448] Fix notifications colors, move them from adf to aca (#3771)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomson7777 authored and MichalKinas committed Jul 19, 2024
1 parent 0d5eac0 commit 9bf9b15
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion projects/aca-content/src/lib/ui/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit 9bf9b15

Please sign in to comment.