diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/assets/styles/bmc/_sila/_toasts.scss | 4 | ||||
-rw-r--r-- | src/env/assets/styles/_sila.scss | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/assets/styles/bmc/_sila/_toasts.scss b/src/assets/styles/bmc/_sila/_toasts.scss index bda47f17..46a00bcc 100644 --- a/src/assets/styles/bmc/_sila/_toasts.scss +++ b/src/assets/styles/bmc/_sila/_toasts.scss @@ -47,7 +47,9 @@ .b-toast-success .toast { border-left-color: theme-color("success") !important; - background-color: theme-color-light("success") !important; + @include themify($themes) { + background-color: themed("toast-success") !important; + } } .b-toast-info .toast { diff --git a/src/env/assets/styles/_sila.scss b/src/env/assets/styles/_sila.scss index 0569d4e5..2471aa21 100644 --- a/src/env/assets/styles/_sila.scss +++ b/src/env/assets/styles/_sila.scss @@ -107,6 +107,8 @@ $select-bg-size: 18px; $select-bg : url("~@/assets/images/_sila/chevron-down.svg"); $btn-secondary: rgb(26 62 91 / 15%); $dropdown-border: rgb(37 34 34 / 19%); + +$toast-success-bg: #ecf8eb; // Dark theme $red-5-dark: rgba(225, 23, 23, 0.1); /* Faint Brand Primary/5% */ $red-40-dark: rgba(225, 23, 23, 0.5); /* Faint Brand Primary/40% */ @@ -140,6 +142,8 @@ $select-bg-size-dark: 15px 7px; $btn-secondary-dark: rgb(26 62 91 / 90%); $dropdown-bacground-dark: #2e4c66; $dropdown-border-dark: #253448; + +$toast-success-bg-dark: #304349; $themes: ( light: ( surface-primary: $surface-primary, @@ -172,6 +176,7 @@ $themes: ( dropdown-bg: $surface-primary, dropdown-border: $dropdown-border, btn-secondary: $btn-secondary, + toast-success: $toast-success-bg, ), dark: ( surface-primary: $surface-primary-dark, @@ -204,6 +209,7 @@ $themes: ( dropdown-bg: $dropdown-bacground-dark, dropdown-border: $dark, btn-secondary: $btn-secondary-dark, + toast-success: $toast-success-bg-dark, ), ); |