From 1bc922366522d3e2f7d16f544b4d1942abac7621 Mon Sep 17 00:00:00 2001 From: GitHub Copilot Date: Thu, 26 Mar 2026 15:03:07 +0100 Subject: [PATCH] refactor(ui): update theme colors for improved consistency and remove unused gradient background --- lib/core/theme/app_theme.dart | 4 ++-- lib/main.dart | 20 -------------------- 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/lib/core/theme/app_theme.dart b/lib/core/theme/app_theme.dart index 4272496..0a4b09f 100644 --- a/lib/core/theme/app_theme.dart +++ b/lib/core/theme/app_theme.dart @@ -116,8 +116,8 @@ class AppTheme { return baseTheme.copyWith( useMaterial3: true, colorScheme: AppColors.darkColorScheme, - scaffoldBackgroundColor: AppColors.background, - canvasColor: AppColors.background, + scaffoldBackgroundColor: const Color(0xFF1A1A1A), + canvasColor: const Color(0xFF1A1A1A), // ============ TYPOGRAPHY (Apple TV Optimized for 10ft Viewing) ============ textTheme: TextTheme( diff --git a/lib/main.dart b/lib/main.dart index 3450fed..5523572 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -2,7 +2,6 @@ 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 { @@ -25,25 +24,6 @@ class MyApp extends ConsumerWidget { darkTheme: AppTheme.darkTheme, themeMode: themeState.themeMode, 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!, - ], - ); - }, ); } }