mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-30 19:57:55 +01:00
fix(Notification): handle dynamic backgrounds (#1063)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
@@ -129,7 +129,7 @@ export default defineComponent({
|
|||||||
const wrapperClass = computed(() => {
|
const wrapperClass = computed(() => {
|
||||||
return twMerge(twJoin(
|
return twMerge(twJoin(
|
||||||
ui.value.wrapper,
|
ui.value.wrapper,
|
||||||
ui.value.background,
|
ui.value.background?.replaceAll('{color}', props.color),
|
||||||
ui.value.rounded,
|
ui.value.rounded,
|
||||||
ui.value.shadow
|
ui.value.shadow
|
||||||
), props.class)
|
), props.class)
|
||||||
|
|||||||
Reference in New Issue
Block a user