|
|
@ -1,6 +1,7 @@ |
|
|
|
// |
|
|
|
// |
|
|
|
// Toast |
|
|
|
// Toast |
|
|
|
// |
|
|
|
// |
|
|
|
|
|
|
|
|
|
|
|
@each $name, $color in $theme-colors { |
|
|
|
@each $name, $color in $theme-colors { |
|
|
|
.toast-#{$name} { |
|
|
|
.toast-#{$name} { |
|
|
|
--#{$prefix}toast-header-color: #{color-contrast($color)}; |
|
|
|
--#{$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; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|