UPD: Style sonner
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user