Feat: Fügt Dark/Light-Theme hinzu

This commit is contained in:
2025-12-20 14:51:50 +01:00
parent 9d8dc92d08
commit c8035a6ba0
2 changed files with 28 additions and 3 deletions

View File

@@ -3,6 +3,7 @@ import 'package:routemaster/routemaster.dart';
import 'Services/navigation_service.dart';
import 'Services/router_service.dart';
import 'Services/theme_service.dart';
void main() {
runApp(
@@ -14,9 +15,8 @@ void main() {
routeInformationParser: const RoutemasterParser(),
title: 'DragonLedger 🐉📒',
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: const Color(0xFF4FF5F9)),
),
theme: ThemeService.getLightTheme(),
darkTheme: ThemeService.getDarkTheme(),
),
);
}