import 'package:flutter/material.dart'; /// Melo-Theme: Schwarz + Rot. class MeloTheme { static const Color red = Color(0xFFC0392B); static const Color black = Color(0xFF0B0B10); static const Color surface = Color(0xFF15151C); /// Etwas hellere Fläche für Karten und Chips auf [surface]. static const Color surfaceHigh = Color(0xFF1F1F29); static ThemeData get dark { final scheme = ColorScheme.fromSeed( seedColor: red, brightness: Brightness.dark, ).copyWith( primary: red, surface: black, ); return ThemeData( useMaterial3: true, colorScheme: scheme, scaffoldBackgroundColor: black, cardColor: surface, sliderTheme: const SliderThemeData( activeTrackColor: red, thumbColor: red, trackHeight: 3, ), bottomNavigationBarTheme: const BottomNavigationBarThemeData( backgroundColor: surface, selectedItemColor: red, unselectedItemColor: Colors.white54, type: BottomNavigationBarType.fixed, ), ); } }