style: improve current provider visual feedback and toast duration

- Add light blue ring border to active provider card instead of solid border
- Fix border flashing issue when switching providers
- Reduce toast notification duration from 4s to 2s for better UX
This commit is contained in:
Jason
2025-10-30 16:48:07 +08:00
parent 64f2220ad9
commit b3e14b3985
2 changed files with 3 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ export function Toaster() {
richColors
theme="system"
toastOptions={{
duration: 2000,
classNames: {
toast:
"group rounded-md border bg-background text-foreground shadow-lg",