refactor(theme): replace hardcoded colors with AppColors system

- Unify color palette across login, dashboard, admin, and player screens
- Replace Colors.white/black with AppColors semantic colors
- Use AppColors.backgroundGradient instead of hardcoded gradients
- Apply primary teal accent (#00A0D2) consistently
- Fix text hierarchy with textPrimary/Secondary/Tertiary
- Improve visual consistency with Apple TV theme

Changes:
- login_screen.dart: gradient, icon, text colors
- dashboard_screen.dart: border, text, background colors
- admin_panel.dart: all Colors.white/white70 → AppColors
- player_screen.dart: background, overlay, text colors

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
GitHub CopilotandClaude Haiku 4.5 committed 2026-03-26 11:49:46 +01:00
1 parent 0c9d0e50ec
commit a3a4b6f0f2
4 files changed
+23 -23

No files matched your search

+6 -6
View File
@@ -69,7 +69,7 @@ class _LoginScreenState extends ConsumerState<LoginScreen> {
shape: BoxShape.circle,
gradient: RadialGradient(
colors: [
Colors.white.withOpacity(0.05),
AppColors.textPrimary.withOpacity(0.05),
Colors.transparent,
],
radius: 0.5,
@@ -118,7 +118,7 @@ class _LoginScreenState extends ConsumerState<LoginScreen> {
borderRadius: BorderRadius.circular(32),
boxShadow: [
BoxShadow(
color: Colors.black.withOpacity(0.5),
color: AppColors.background.withOpacity(0.5),
blurRadius: 30,
offset: const Offset(0, 15),
),
@@ -239,13 +239,13 @@ class _LoginScreenState extends ConsumerState<LoginScreen> {
TvFocusableCard(
onTap: _handleLogin,
scaleFactor: 1.03,
focusColor: Colors.white,
focusColor: AppColors.primary,
borderRadius: 16,
child: Container(
height: 60,
alignment: Alignment.center,
decoration: BoxDecoration(
color: Colors.white,
color: AppColors.textPrimary,
borderRadius: BorderRadius.circular(16),
),
child: authState.isLoading
@@ -254,13 +254,13 @@ class _LoginScreenState extends ConsumerState<LoginScreen> {
height: 24,
child: CircularProgressIndicator(
strokeWidth: 2.5,
color: Colors.black,
color: AppColors.primary,
),
)
: Text(
'Sign In',
style: GoogleFonts.inter(
color: Colors.black,
color: AppColors.primary,
fontSize: 18,
fontWeight: FontWeight.w600,
),