refactor(ui): enhance ambient glow effects with improved visibility and size adjustments

This commit is contained in:
GitHub Copilot committed 2026-03-26 14:50:30 +01:00
1 parent c4a3aaa066
commit a60bc6e8bd
2 files changed
+23

No files matched your search

+7
View File
@@ -119,6 +119,13 @@ class AppColors {
end: Alignment.bottomCenter,
);
/// Gray gradient background with glossy effect
static const LinearGradient grayGlossyGradient = LinearGradient(
colors: [Color(0xFF2A2A2A), Color(0xFF1A1A1A)],
begin: Alignment.topLeft,
end: Alignment.bottomRight,
);
// ============ RATING & BADGE COLORS ============
/// Premium gold for ratings and premium badges
static const Color ratingGold = Color(0xFFFFD700);
+16
View File
@@ -2,6 +2,7 @@ import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'core/router/app_router.dart';
import 'core/theme/app_theme.dart';
import 'core/theme/app_colors.dart';
import 'core/providers/theme_provider.dart';
void main() async {
@@ -24,6 +25,21 @@ class MyApp extends ConsumerWidget {
darkTheme: AppTheme.darkTheme,
themeMode: themeState.themeMode,
routerConfig: router,
builder: (context, child) {
return Container(
decoration: BoxDecoration(
gradient: AppColors.grayGlossyGradient,
boxShadow: [
BoxShadow(
color: Colors.white.withOpacity(0.08),
blurRadius: 40,
spreadRadius: 20,
),
],
),
child: child,
);
},
);
}
}