mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-15 19:28:16 +02:00
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:
1 parent
0c9d0e50ec
commit
a3a4b6f0f2
4 files changed
+23
-23
No files matched your search
@@ -80,13 +80,13 @@ class _AdminContentState extends ConsumerState<AdminContent>
|
||||
padding: const EdgeInsets.all(8),
|
||||
showBorder: false,
|
||||
onTap: () => context.go('/playlists'),
|
||||
child: const Icon(Icons.arrow_back, color: Colors.white70),
|
||||
child: const Icon(Icons.arrow_back, color: AppColors.textSecondary),
|
||||
),
|
||||
const SizedBox(width: 16),
|
||||
Text(
|
||||
'Administration',
|
||||
style: Theme.of(context).textTheme.headlineMedium?.copyWith(
|
||||
color: Colors.white,
|
||||
color: AppColors.textPrimary,
|
||||
fontWeight: FontWeight.bold,
|
||||
),
|
||||
),
|
||||
@@ -147,7 +147,7 @@ class _AdminContentState extends ConsumerState<AdminContent>
|
||||
Icon(
|
||||
icon,
|
||||
size: 18,
|
||||
color: isSelected ? Colors.black : Colors.white70,
|
||||
color: isSelected ? AppColors.textPrimary : AppColors.textSecondary,
|
||||
),
|
||||
const SizedBox(width: 8),
|
||||
Text(
|
||||
@@ -155,7 +155,7 @@ class _AdminContentState extends ConsumerState<AdminContent>
|
||||
style: GoogleFonts.inter(
|
||||
fontWeight: FontWeight.w600,
|
||||
fontSize: 14,
|
||||
color: isSelected ? Colors.black : Colors.white70,
|
||||
color: isSelected ? AppColors.textPrimary : AppColors.textSecondary,
|
||||
),
|
||||
),
|
||||
],
|
||||
@@ -187,7 +187,7 @@ class _PlaylistsTab extends ConsumerWidget {
|
||||
style: Theme.of(context)
|
||||
.textTheme
|
||||
.bodyLarge
|
||||
?.copyWith(color: Colors.white70),
|
||||
?.copyWith(color: AppColors.textSecondary),
|
||||
),
|
||||
GradientButton(
|
||||
label: 'Add Playlist',
|
||||
@@ -462,7 +462,7 @@ class _UsersTab extends ConsumerWidget {
|
||||
style: Theme.of(context)
|
||||
.textTheme
|
||||
.bodyLarge
|
||||
?.copyWith(color: Colors.white70),
|
||||
?.copyWith(color: AppColors.textSecondary),
|
||||
),
|
||||
GradientButton(
|
||||
label: 'Create User',
|
||||
|
||||
Reference in new issue
Block a user