From a8af352a70149de4b6f6b5031d86d3da4d332a5d Mon Sep 17 00:00:00 2001 From: Robert Kossessa Date: Tue, 28 May 2024 12:49:57 +0200 Subject: [PATCH] UPD: Style sonner --- src/renderer/src/components/ui/sonner/Sonner.vue | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/renderer/src/components/ui/sonner/Sonner.vue b/src/renderer/src/components/ui/sonner/Sonner.vue index b82b29e..40600d4 100644 --- a/src/renderer/src/components/ui/sonner/Sonner.vue +++ b/src/renderer/src/components/ui/sonner/Sonner.vue @@ -10,13 +10,12 @@ const props = defineProps() v-bind="props" :toast-options="{ classes: { - toast: 'group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg', - description: 'group-[.toast]:text-muted-foreground', - actionButton: - 'group-[.toast]:bg-primary group-[.toast]:text-primary-foreground', - cancelButton: - 'group-[.toast]:bg-muted group-[.toast]:text-muted-foreground', - }, + toast: + 'group toast group-[.toaster]:bg-background font-heading group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg', + description: 'group-[.toast]:text-muted-foreground font-mono', + actionButton: 'group-[.toast]:bg-primary group-[.toast]:text-primary-foreground', + cancelButton: 'group-[.toast]:bg-muted group-[.toast]:text-muted-foreground' + } }" />