working on themes

This commit is contained in:
Rene Kievits
2025-10-31 07:39:32 +01:00
parent 4a6fce37b2
commit ad61292263
4 changed files with 44 additions and 18 deletions

View File

@@ -33,7 +33,25 @@ class WkApp extends StatelessWidget {
return MaterialApp(
title: 'Hirameki SRS',
debugShowCheckedModeBanner: false,
theme: ThemeData.dark(useMaterial3: true),
theme: ThemeData(
colorScheme: const ColorScheme(
brightness: Brightness.dark,
primary: Color(0xFF90CAF9), // Light blue for primary elements
onPrimary: Colors.black,
secondary: Color(0xFFBBDEFB), // Slightly lighter blue for secondary elements
onSecondary: Colors.black,
tertiary: Color(0xFFA5D6A7), // Light green for success/correct states
onTertiary: Colors.black,
error: Color(0xFFEF9A9A), // Light red for error states
onError: Colors.black,
surface: Color(0xFF121212), // Very dark gray
onSurface: Colors.white,
surfaceContainer: Color(0xFF1E1E1E), // Slightly lighter dark gray
surfaceContainerHighest: Color(0xFF424242), // A distinct dark gray for surface variants
onSurfaceVariant: Colors.white70,
),
useMaterial3: true,
),
home: const StartScreen(),
);
}