Skip to content

Commit

Permalink
fix(Notification): add HCM query for close icon (#12097)
Browse files Browse the repository at this point in the history
* fix(ActionableNotification): add HCM query for close icon

* fix(Notification): fix inline, toast variants

Co-authored-by: Josefina Mancilla <32556167+jnm2377@users.noreply.github.com>
  • Loading branch information
tw15egan and jnm2377 committed Sep 16, 2022
1 parent 86f1e9c commit 900a9be
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,9 @@
}

.#{$prefix}--actionable-notification .#{$prefix}--inline-notification__icon,
.#{$prefix}--actionable-notification .#{$prefix}--toast-notification__icon {
.#{$prefix}--actionable-notification .#{$prefix}--toast-notification__icon,
.#{$prefix}--actionable-notification
.#{$prefix}--actionable-notification__close-icon {
@include high-contrast-mode('icon-fill');
}
/* stylelint-enable */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -309,10 +309,11 @@
@include high-contrast-mode('focus');
}

.#{$prefix}--inline-notification__icon {
.#{$prefix}--inline-notification .#{$prefix}--inline-notification__icon {
@include high-contrast-mode('icon-fill');
}
.#{$prefix}--inline-notification__close-icon {
.#{$prefix}--inline-notification
.#{$prefix}--inline-notification__close-icon {
@include high-contrast-mode('icon-fill');
}
/* stylelint-enable */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,10 @@
.#{$prefix}--toast-notification__close-button:focus {
@include high-contrast-mode('focus');
}
.#{$prefix}--toast-notification__close-icon {
.#{$prefix}--toast-notification .#{$prefix}--toast-notification__close-icon {
@include high-contrast-mode('icon-fill');
}
.#{$prefix}--toast-notification__icon {
.#{$prefix}--toast-notification .#{$prefix}--toast-notification__icon {
@include high-contrast-mode('icon-fill');
}
/* stylelint-enable */
Expand Down

0 comments on commit 900a9be

Please sign in to comment.