mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-23 23:18:06 +02:00
refactor(ui): update theme colors for improved consistency and remove unused gradient background
This commit is contained in:
1 parent
8f732edda6
commit
1bc9223665
2 files changed
+2
-22
No files matched your search
@@ -116,8 +116,8 @@ class AppTheme {
|
|||||||
return baseTheme.copyWith(
|
return baseTheme.copyWith(
|
||||||
useMaterial3: true,
|
useMaterial3: true,
|
||||||
colorScheme: AppColors.darkColorScheme,
|
colorScheme: AppColors.darkColorScheme,
|
||||||
scaffoldBackgroundColor: AppColors.background,
|
scaffoldBackgroundColor: const Color(0xFF1A1A1A),
|
||||||
canvasColor: AppColors.background,
|
canvasColor: const Color(0xFF1A1A1A),
|
||||||
|
|
||||||
// ============ TYPOGRAPHY (Apple TV Optimized for 10ft Viewing) ============
|
// ============ TYPOGRAPHY (Apple TV Optimized for 10ft Viewing) ============
|
||||||
textTheme: TextTheme(
|
textTheme: TextTheme(
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ import 'package:flutter/material.dart';
|
|||||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||||
import 'core/router/app_router.dart';
|
import 'core/router/app_router.dart';
|
||||||
import 'core/theme/app_theme.dart';
|
import 'core/theme/app_theme.dart';
|
||||||
import 'core/theme/app_colors.dart';
|
|
||||||
import 'core/providers/theme_provider.dart';
|
import 'core/providers/theme_provider.dart';
|
||||||
|
|
||||||
void main() async {
|
void main() async {
|
||||||
@@ -25,25 +24,6 @@ class MyApp extends ConsumerWidget {
|
|||||||
darkTheme: AppTheme.darkTheme,
|
darkTheme: AppTheme.darkTheme,
|
||||||
themeMode: themeState.themeMode,
|
themeMode: themeState.themeMode,
|
||||||
routerConfig: router,
|
routerConfig: router,
|
||||||
builder: (context, child) {
|
|
||||||
return Stack(
|
|
||||||
children: [
|
|
||||||
Container(
|
|
||||||
decoration: BoxDecoration(
|
|
||||||
gradient: AppColors.grayGlossyGradient,
|
|
||||||
boxShadow: [
|
|
||||||
BoxShadow(
|
|
||||||
color: Colors.white.withOpacity(0.08),
|
|
||||||
blurRadius: 40,
|
|
||||||
spreadRadius: 20,
|
|
||||||
),
|
|
||||||
],
|
|
||||||
),
|
|
||||||
),
|
|
||||||
child!,
|
|
||||||
],
|
|
||||||
);
|
|
||||||
},
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user