diff --git a/assets/bsToastService/bsToastService.css b/assets/bsToastService/bsToastService.css index f1bba87..362a1c8 100644 --- a/assets/bsToastService/bsToastService.css +++ b/assets/bsToastService/bsToastService.css @@ -57,11 +57,22 @@ word-wrap: break-word; } - .toast-container--default { z-index: 10000; position: fixed!important; bottom: 0!important; right: 0!important; padding: 1rem !important; +} +.toast--error .toast-icon svg { + fill: var(--kit-color-error, red); +} +.toast--warning .toast-icon svg { + fill: var(--kit-color-warning, orange); +} +.toast--info .toast-icon svg { + fill: var(--kit-color-primary, dodgerblue); +} +.toast--success .toast-icon svg { + fill: var(--kit-color-success, green); } \ No newline at end of file diff --git a/assets/bsToastService/bsToastService.js b/assets/bsToastService/bsToastService.js index 5419da5..76adb5a 100644 --- a/assets/bsToastService/bsToastService.js +++ b/assets/bsToastService/bsToastService.js @@ -13,7 +13,7 @@ __PluginManager__.register('bsToastService', function(require, exports, module, delay: 4000, }; this.closeTemplate = '