Skip to content

Commit

Permalink
[ACS-7560] Corrected background color for info snackbar (#3824)
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksanderSklorz authored and swapnil-verma-gl committed Jun 6, 2024
1 parent a9f169d commit d5150ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion projects/aca-content/src/lib/ui/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ mat-snack-bar-container {
}

.adf-info-snackbar {
--mdc-snackbar-container-color: var(--theme-primary-color);
--mdc-snackbar-container-color: var(--theme-info-snackbar-background);
}

.adf-error-snackbar {
Expand Down
2 changes: 2 additions & 0 deletions projects/aca-content/src/lib/ui/variables/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ $search-chip-icon-color: #757575;
$disabled-chip-background-color: #f5f5f5;
$contrast-gray: mat.get-color-from-palette($foreground, 'secondary-tex');
$search-highlight-background-color: #ffd180;
$info-snackbar-background: #1f74db;

// CSS Variables
$defaults: (
Expand All @@ -67,6 +68,7 @@ $defaults: (
--theme-grey-background-color: $grey-background,
--theme-grey-hover-background-color: $grey-hover-background,
--theme-blue-button-color: $blue-save-button-background,
--theme-info-snackbar-background: $info-snackbar-background,
--theme-heading-color: $black-heading,
--theme-dropdown-color: $theme-dropdown-background,
--theme-dropdown-background-hover: $theme-dropdown-background-hover,
Expand Down

0 comments on commit d5150ec

Please sign in to comment.