mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-22 14:38:06 +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(
|
child: Container(
|
||||||
decoration: const BoxDecoration(
|
decoration: const BoxDecoration(
|
||||||
gradient: LinearGradient(
|
gradient: LinearGradient(
|
||||||
begin: Alignment.topLeft,
|
begin: Alignment.topCenter,
|
||||||
end: Alignment.bottomRight,
|
end: Alignment.bottomCenter,
|
||||||
colors: [
|
colors: [
|
||||||
AppColors.background,
|
Color(0xFF050505), // Very dark top
|
||||||
|
AppColors.background, // Black bottom
|
||||||
Color(0xFF0A0A0A), // Slightly darker for depth
|
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(
|
Positioned(
|
||||||
top: -200,
|
top: -300,
|
||||||
left: -200,
|
left: -300,
|
||||||
child: Container(
|
child: Container(
|
||||||
width: 600,
|
width: 800,
|
||||||
height: 600,
|
height: 800,
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
shape: BoxShape.circle,
|
shape: BoxShape.circle,
|
||||||
gradient: RadialGradient(
|
gradient: RadialGradient(
|
||||||
colors: [
|
colors: [
|
||||||
AppColors.primary.withOpacity(0.25),
|
AppColors.primary.withOpacity(0.4),
|
||||||
|
AppColors.primary.withOpacity(0.1),
|
||||||
Colors.transparent,
|
Colors.transparent,
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
@@ -76,18 +78,19 @@ class _DashboardScreenState extends ConsumerState<DashboardScreen> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
||||||
// Ambient Glow Bottom-Right - Subtle Blue
|
// Ambient Glow Bottom-Right - Blue - VISIBLE
|
||||||
Positioned(
|
Positioned(
|
||||||
bottom: -150,
|
bottom: -250,
|
||||||
right: -150,
|
right: -250,
|
||||||
child: Container(
|
child: Container(
|
||||||
width: 500,
|
width: 700,
|
||||||
height: 500,
|
height: 700,
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
shape: BoxShape.circle,
|
shape: BoxShape.circle,
|
||||||
gradient: RadialGradient(
|
gradient: RadialGradient(
|
||||||
colors: [
|
colors: [
|
||||||
AppColors.info.withOpacity(0.15),
|
AppColors.info.withOpacity(0.35),
|
||||||
|
AppColors.info.withOpacity(0.1),
|
||||||
Colors.transparent,
|
Colors.transparent,
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in new issue
Block a user