diff --git a/lib/core/theme/app_colors.dart b/lib/core/theme/app_colors.dart index 5077e7d..d5b7e1b 100644 --- a/lib/core/theme/app_colors.dart +++ b/lib/core/theme/app_colors.dart @@ -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); diff --git a/lib/main.dart b/lib/main.dart index 5523572..6af984a 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -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, + ); + }, ); } }