mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-11 17:30:00 +02:00
refactor(ui): enhance ambient glow effects with improved visibility and size adjustments
This commit is contained in:
1 parent
c4a3aaa066
commit
a60bc6e8bd
2 files changed
+23
No files matched your search
@@ -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);
|
||||
|
||||
@@ -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,
|
||||
);
|
||||
},
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user