From cbd9ad03fc8ad9dfb97f82bd917bbaa36814ea39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Mon, 17 Nov 2025 17:15:20 +0100 Subject: [PATCH] fix: improve toast notification readability MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Enhanced toast notifications with better contrast and visibility: - Increased background opacity from /10 to /90 for all variants - Changed to thicker border (border-2) for better definition - Added backdrop-blur-sm for depth and clarity - Improved text contrast: * Success/Error/Info: White text on colored backgrounds * Warning: Black text on yellow background * Default: Uses theme foreground color - Enhanced shadow (shadow-2xl) for better separation - Added aria-label to close button for accessibility Toast notifications are now clearly readable in both light and dark modes. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- components/ui/Toast.tsx | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/components/ui/Toast.tsx b/components/ui/Toast.tsx index 690fdc5..040fb04 100644 --- a/components/ui/Toast.tsx +++ b/components/ui/Toast.tsx @@ -100,17 +100,17 @@ function ToastItem({ return (
@@ -125,7 +125,8 @@ function ToastItem({