diff --git a/lib/main.dart b/lib/main.dart index e00456a..7045a2b 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -15,11 +15,20 @@ class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( - title: 'Simple Timer', - theme: ThemeData( - colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple), + title: 'Just a timer', + darkTheme: ThemeData( + brightness: Brightness.dark, + useMaterial3: true, + scaffoldBackgroundColor: const Color(0xFF111827), + colorSchemeSeed: const Color(0xFF111827), + highlightColor: const Color(0xff1f2937), + textTheme: TextTheme( + bodyLarge: TextStyle(fontSize: 22), + bodyMedium: TextStyle(fontSize: 20), + bodySmall: TextStyle(fontSize: 17), + ), ), - home: const MyHomePage(title: 'Simple Timer'), + home: const MyHomePage(title: 'Just a timer'), ); } } diff --git a/windows/runner/main.cpp b/windows/runner/main.cpp index 2cdd940..40134cb 100644 --- a/windows/runner/main.cpp +++ b/windows/runner/main.cpp @@ -28,7 +28,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev, Win32Window::Size size(720, 640); Win32Window::Point origin((GetSystemMetrics(SM_CXSCREEN) - size.width) / 2, (GetSystemMetrics(SM_CYSCREEN) - size.height) / 2); - if (!window.Create(L"simple_timer", origin, size)) { + if (!window.Create(L"Just a timer", origin, size)) { return EXIT_FAILURE; } window.SetQuitOnClose(true);