From 1f0f6181db7fa1ab45b8f7fec8df1cedccaec688 Mon Sep 17 00:00:00 2001 From: MiladHp Date: Tue, 5 Dec 2023 19:41:56 +0330 Subject: [PATCH] fix(Notification): handle dynamic backgrounds (#1063) Co-authored-by: Benjamin Canac --- src/runtime/components/overlays/Notification.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/components/overlays/Notification.vue b/src/runtime/components/overlays/Notification.vue index 3ca9a156..1686eedc 100644 --- a/src/runtime/components/overlays/Notification.vue +++ b/src/runtime/components/overlays/Notification.vue @@ -129,7 +129,7 @@ export default defineComponent({ const wrapperClass = computed(() => { return twMerge(twJoin( ui.value.wrapper, - ui.value.background, + ui.value.background?.replaceAll('{color}', props.color), ui.value.rounded, ui.value.shadow ), props.class)