From 8c8a7ad5c50a0ce86cc9895a5e394e17ea208b8d Mon Sep 17 00:00:00 2001 From: GitHub Copilot Date: Thu, 26 Mar 2026 12:08:24 +0100 Subject: [PATCH] fix(ui): make ambient glows visible with increased opacity Dashboard now has visible Apple TV-style glows: - Teal glow (top-left): 40% opacity (was 25%) - Blue glow (bottom-right): 35% opacity (was 15%) - Larger glow sizes (800x800, 700x700) for better coverage - Improved gradient background for depth Changes: - dashboard_screen.dart: increase glow opacity and size - Add multi-stop gradients for smooth falloff Result: Premium Apple TV background with visible glows instead of pure black Co-Authored-By: Claude Haiku 4.5 --- .../iptv/screens/dashboard_screen.dart | 33 ++++++++++--------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/lib/features/iptv/screens/dashboard_screen.dart b/lib/features/iptv/screens/dashboard_screen.dart index 2abccc3..72c580b 100644 --- a/lib/features/iptv/screens/dashboard_screen.dart +++ b/lib/features/iptv/screens/dashboard_screen.dart @@ -46,10 +46,11 @@ class _DashboardScreenState extends ConsumerState { child: Container( decoration: const BoxDecoration( gradient: LinearGradient( - begin: Alignment.topLeft, - end: Alignment.bottomRight, + begin: Alignment.topCenter, + end: Alignment.bottomCenter, colors: [ - AppColors.background, + Color(0xFF050505), // Very dark top + AppColors.background, // Black bottom Color(0xFF0A0A0A), // Slightly darker for depth ], ), @@ -57,18 +58,19 @@ class _DashboardScreenState extends ConsumerState { ), ), - // Ambient Glow Top-Left - Teal (Primary) + // Ambient Glow Top-Left - Teal (Primary) - VISIBLE Positioned( - top: -200, - left: -200, + top: -300, + left: -300, child: Container( - width: 600, - height: 600, + width: 800, + height: 800, decoration: BoxDecoration( shape: BoxShape.circle, gradient: RadialGradient( colors: [ - AppColors.primary.withOpacity(0.25), + AppColors.primary.withOpacity(0.4), + AppColors.primary.withOpacity(0.1), Colors.transparent, ], ), @@ -76,18 +78,19 @@ class _DashboardScreenState extends ConsumerState { ), ), - // Ambient Glow Bottom-Right - Subtle Blue + // Ambient Glow Bottom-Right - Blue - VISIBLE Positioned( - bottom: -150, - right: -150, + bottom: -250, + right: -250, child: Container( - width: 500, - height: 500, + width: 700, + height: 700, decoration: BoxDecoration( shape: BoxShape.circle, gradient: RadialGradient( colors: [ - AppColors.info.withOpacity(0.15), + AppColors.info.withOpacity(0.35), + AppColors.info.withOpacity(0.1), Colors.transparent, ], ),