Skip to content

Commit db8d941

Browse files
authored
fix(notification): fix low-contrast close button focus color (#5793)
1 parent fdb4145 commit db8d941

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

packages/components/src/components/notification/_inline-notification.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,11 @@
255255
}
256256
}
257257

258+
.#{$prefix}--inline-notification--low-contrast
259+
.#{$prefix}--inline-notification__close-button {
260+
@include focus-outline('outline');
261+
}
262+
258263
.#{$prefix}--inline-notification--low-contrast {
259264
.#{$prefix}--inline-notification__close-button
260265
.#{$prefix}--inline-notification__close-icon {

packages/components/src/components/notification/_toast-notification.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,11 @@
157157
}
158158
}
159159

160+
.#{$prefix}--toast-notification--low-contrast
161+
.#{$prefix}--toast-notification__close-button {
162+
@include focus-outline('outline');
163+
}
164+
160165
.#{$prefix}--toast-notification--low-contrast
161166
.#{$prefix}--toast-notification__close-button
162167
.#{$prefix}--toast-notification__close-icon {

0 commit comments

Comments
 (0)