Feat: Fügt Dark/Light-Theme hinzu
This commit is contained in:
@@ -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(),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user