UPD: Style sonner

This commit is contained in:
Robert Kossessa
2024-05-28 12:49:57 +02:00
parent a98c5aec0f
commit a8af352a70

View File

@@ -10,13 +10,12 @@ const props = defineProps<ToasterProps>()
v-bind="props" v-bind="props"
:toast-options="{ :toast-options="{
classes: { classes: {
toast: 'group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg', toast:
description: 'group-[.toast]:text-muted-foreground', 'group toast group-[.toaster]:bg-background font-heading group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg',
actionButton: description: 'group-[.toast]:text-muted-foreground font-mono',
'group-[.toast]:bg-primary group-[.toast]:text-primary-foreground', actionButton: 'group-[.toast]:bg-primary group-[.toast]:text-primary-foreground',
cancelButton: cancelButton: 'group-[.toast]:bg-muted group-[.toast]:text-muted-foreground'
'group-[.toast]:bg-muted group-[.toast]:text-muted-foreground', }
},
}" }"
/> />
</template> </template>