Implemented Theme class in every dart file

This commit is contained in:
Felix Kirchner
2025-04-30 13:57:54 +02:00
parent d49fec2b48
commit 1adbd16687
6 changed files with 49 additions and 47 deletions

View File

@@ -1,4 +1,4 @@
import 'package:cabo_counter/utility/theme.dart' as theme;
import 'package:cabo_counter/utility/theme.dart';
import 'package:cabo_counter/views/main_menu_view.dart';
import 'package:flutter/cupertino.dart';
@@ -14,10 +14,10 @@ class App extends StatelessWidget {
return CupertinoApp(
theme: CupertinoThemeData(
brightness: Brightness.dark,
primaryColor: theme.primaryColor,
scaffoldBackgroundColor: theme.backgroundColor,
primaryColor: Theme.primaryColor,
scaffoldBackgroundColor: Theme.backgroundColor,
textTheme: CupertinoTextThemeData(
primaryColor: theme.primaryColor,
primaryColor: Theme.primaryColor,
),
),
debugShowCheckedModeBanner: false,