toast dark-mode bug fix

pull/5312/head
Daniel 1 year ago
parent 0e71358c78
commit 6bf0643fca

@ -1,6 +1,7 @@
//
// Toast
//
@each $name, $color in $theme-colors {
.toast-#{$name} {
--#{$prefix}toast-header-color: #{color-contrast($color)};
@ -16,3 +17,17 @@
}
}
}
@if $enable-dark-mode {
@include color-mode(dark) {
@each $name, $color in $theme-colors {
.toast-#{$name} {
@if color-contrast($color) == $color-contrast-dark {
.btn-close {
--#{$prefix}btn-close-white-filter: none;
}
}
}
}
}
}

Loading…
Cancel
Save