mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-11 17:30:00 +02:00
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 <noreply@anthropic.com>
This commit is contained in:
1 parent
96ea8e2ad2
commit
8c8a7ad5c5
1 file changed
+18
-15
@@ -46,10 +46,11 @@ class _DashboardScreenState extends ConsumerState<DashboardScreen> {
|
||||
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<DashboardScreen> {
|
||||
),
|
||||
),
|
||||
|
||||
// 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<DashboardScreen> {
|
||||
),
|
||||
),
|
||||
|
||||
// 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,
|
||||
],
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user