From c49f00f863e77827dd3b9eadb7fb3571c5640d49 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 23 Sep 2023 16:44:36 +0200 Subject: [PATCH] Improve dark toast theme --- src/styles/_styles_ovw.scss | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/src/styles/_styles_ovw.scss b/src/styles/_styles_ovw.scss index 1d2c1c9b..df41acfb 100644 --- a/src/styles/_styles_ovw.scss +++ b/src/styles/_styles_ovw.scss @@ -237,20 +237,30 @@ } .toast { - // Colors to match the "alert" styling. + // Colors to match the "alert" styling. + background-color: var(--toast-bg-color) !important; + + .toast-header { + background-color: var(--toast-bg-color-header) !important; + color: $fg-color; + } &.text-bg-danger { - background-color: rgb(44, 11, 14) !important; + --toast-bg-color: rgb(44, 11, 14) !important; + --toast-bg-color-header:rgb(24, 6, 7) !important; color: rgb(234, 134, 143) !important; } &.text-bg-warning { - background-color: rgb(41, 39, 1) !important; + --toast-bg-color: rgb(41, 39, 1) !important; + --toast-bg-color-header: rgb(29, 27, 1) !important; + // background-color: rgb(41, 39, 1) !important; color: rgb(255, 218, 106) !important; } &.text-bg-success { - background-color: rgb(5, 27, 17) !important; + --toast-bg-color: rgb(5, 27, 17) !important; + --toast-bg-color-header: rgb(3, 19, 12) !important; color: rgb(118, 183, 152) !important; } }