v2.56 — UI/Design-Rework: Melo Dark Fusion (neue Startseite, 2-stufige Einstellungen, Design-System)
- Design-System: MeloDesignTokens ThemeExtension, Outfit-Font, Farben #0B0B10/#14141C/#1C1C26 - Akzentfarbe-User-Einstellung behalten (MeloTheme.akzentNotifier), Gradient aus Akzent - Startseite: Hero-Weiterhören-Karte mit Cover, Titel, Glow-Play-Button - 2-stufige Einstellungen: Standard + Expertenmodus (SharedPreferences Key 'experten_modus') - Komponenten: Pill-Buttons (radius 999), Card-Radius 20, Glow-Shadow, PressScale-Widget - Login: Gradient-Button mit Akzent-Glow - 199 Tests grün (194 bestehend + 5 neu): ThemeExtension, Expertenmodus, Akzent, PressScale, Hero - flutter analyze lib/ + test/ = 0 Issues - KEIN APK
This commit is contained in:
@@ -3,8 +3,6 @@ import '../models/song.dart';
|
||||
import '../utils/farb_theme.dart';
|
||||
|
||||
/// Zeigt die letzten abgespielten Songs als horizontale Liste.
|
||||
/// Manuell in home_screen.dart einbaubar:
|
||||
/// RecentWidget(songs: _vm.letzteSongs, onPlay: _vm.spieleSong)
|
||||
class RecentWidget extends StatelessWidget {
|
||||
final List<Song> songs;
|
||||
final void Function(Song) onPlay;
|
||||
@@ -35,7 +33,7 @@ class RecentWidget extends StatelessWidget {
|
||||
padding: const EdgeInsets.symmetric(horizontal: 10),
|
||||
decoration: BoxDecoration(
|
||||
color: MeloTheme.dunkel1,
|
||||
borderRadius: BorderRadius.circular(10),
|
||||
borderRadius: BorderRadius.circular(20),
|
||||
border: Border.all(color: MeloTheme.dunkel2),
|
||||
),
|
||||
child: Row(
|
||||
@@ -44,8 +42,13 @@ class RecentWidget extends StatelessWidget {
|
||||
Container(
|
||||
width: 28, height: 28,
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(6),
|
||||
color: MeloTheme.rot.withValues(alpha: 0.3),
|
||||
borderRadius: BorderRadius.circular(8),
|
||||
gradient: LinearGradient(
|
||||
colors: [
|
||||
MeloTheme.akzent.withValues(alpha: 0.4),
|
||||
MeloTheme.akzent.withValues(alpha: 0.1),
|
||||
],
|
||||
),
|
||||
),
|
||||
child: const Center(child: Text('♪', style: TextStyle(fontSize: 12))),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user