Skip to content

Commit bd298d0

Browse files
fix: Update toast component to use themes color (#98)
1 parent e325547 commit bd298d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/App.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ import { TooltipProvider } from '@/components/ui/tooltip'
55
import { useColorMode } from '@/composables/useColorMode'
66
77
// Initialize color mode early
8-
useColorMode()
8+
const { colorMode } = useColorMode()
99
</script>
1010

1111
<template>
1212
<TooltipProvider>
1313
<div class="min-h-screen bg-background font-sans antialiased">
1414
<RouterView />
15-
<Toaster position="top-right" richColors />
15+
<Toaster position="top-right" richColors :theme="colorMode" />
1616
</div>
1717
</TooltipProvider>
1818
</template>

0 commit comments

Comments
 (0)