Files
reader-app/lib/core/theme/app_theme.dart
T
virtus 1afff18f4d feat: Enhance TTS player functionality and UI
- Added resume functionality to TTS player when paused.
- Display voice name or language in TTS player UI.
- Improved error handling in reader provider with debug messages.
- Updated TTS service to configure Vietnamese voice and handle platform-specific audio settings.
- Removed wakelock dependency and related code.
- Fixed search screen error handling.
- Updated settings screen to navigate to home after sign out.
- Improved splash screen with timer management.
- Enhanced main app error handling with logging.
- Removed unused package_info_plus and wakelock_plus dependencies.
- Added environment variable support for mobile runtime.
- Integrated Google Sign-In configuration for Android.
- Created logging observer for Riverpod providers.
- Added scripts for environment setup and Google Sign-In validation.
2026-03-30 11:38:04 +07:00

34 lines
894 B
Dart

import 'package:flutter/material.dart';
class AppTheme {
AppTheme._();
static final ThemeData lightTheme = ThemeData(
useMaterial3: true,
colorScheme: ColorScheme.fromSeed(
seedColor: const Color(0xFF155DFC),
brightness: Brightness.light,
),
scaffoldBackgroundColor: const Color(0xFFF7F9FC),
appBarTheme: const AppBarTheme(
centerTitle: false,
backgroundColor: Color(0xFFF7F9FC),
foregroundColor: Color(0xFF121826),
),
);
static final ThemeData darkTheme = ThemeData(
useMaterial3: true,
colorScheme: ColorScheme.fromSeed(
seedColor: const Color(0xFF155DFC),
brightness: Brightness.dark,
),
scaffoldBackgroundColor: const Color(0xFF0E1420),
appBarTheme: const AppBarTheme(
centerTitle: false,
backgroundColor: Color(0xFF0E1420),
foregroundColor: Color(0xFFE5EAF3),
),
);
}