|
@@ -10,6 +10,11 @@ final lightThemeData = ThemeData(
|
|
iconTheme: const IconThemeData(color: Colors.black),
|
|
iconTheme: const IconThemeData(color: Colors.black),
|
|
primaryIconTheme:
|
|
primaryIconTheme:
|
|
const IconThemeData(color: Colors.red, opacity: 1.0, size: 50.0),
|
|
const IconThemeData(color: Colors.red, opacity: 1.0, size: 50.0),
|
|
|
|
+ colorScheme: const ColorScheme.light(
|
|
|
|
+ primary: Colors.black,
|
|
|
|
+ secondary: Color.fromARGB(255, 163, 163, 163),
|
|
|
|
+ ),
|
|
|
|
+ accentColor: const Color.fromRGBO(0, 0, 0, 0.6),
|
|
outlinedButtonTheme: buildOutlinedButtonThemeData(
|
|
outlinedButtonTheme: buildOutlinedButtonThemeData(
|
|
bgDisabled: Colors.grey.shade500,
|
|
bgDisabled: Colors.grey.shade500,
|
|
bgEnabled: Colors.black,
|
|
bgEnabled: Colors.black,
|
|
@@ -73,10 +78,7 @@ final lightThemeData = ThemeData(
|
|
? Colors.white
|
|
? Colors.white
|
|
: Colors.black;
|
|
: Colors.black;
|
|
}),
|
|
}),
|
|
- ), colorScheme: const ColorScheme.light(
|
|
|
|
- primary: Colors.black,
|
|
|
|
- secondary: Color.fromARGB(255, 163, 163, 163),
|
|
|
|
- ).copyWith(secondary: const Color.fromRGBO(0, 0, 0, 0.6)),
|
|
|
|
|
|
+ ),
|
|
);
|
|
);
|
|
|
|
|
|
final darkThemeData = ThemeData(
|
|
final darkThemeData = ThemeData(
|
|
@@ -87,6 +89,8 @@ final darkThemeData = ThemeData(
|
|
primaryIconTheme:
|
|
primaryIconTheme:
|
|
const IconThemeData(color: Colors.red, opacity: 1.0, size: 50.0),
|
|
const IconThemeData(color: Colors.red, opacity: 1.0, size: 50.0),
|
|
hintColor: Colors.grey,
|
|
hintColor: Colors.grey,
|
|
|
|
+ colorScheme: const ColorScheme.dark(primary: Colors.white),
|
|
|
|
+ accentColor: const Color.fromRGBO(45, 194, 98, 0.2),
|
|
buttonTheme: const ButtonThemeData().copyWith(
|
|
buttonTheme: const ButtonThemeData().copyWith(
|
|
buttonColor: const Color.fromRGBO(45, 194, 98, 1.0),
|
|
buttonColor: const Color.fromRGBO(45, 194, 98, 1.0),
|
|
),
|
|
),
|
|
@@ -150,7 +154,7 @@ final darkThemeData = ThemeData(
|
|
return Colors.grey;
|
|
return Colors.grey;
|
|
}
|
|
}
|
|
}),
|
|
}),
|
|
- ), colorScheme: const ColorScheme.dark(primary: Colors.white).copyWith(secondary: const Color.fromRGBO(45, 194, 98, 0.2)),
|
|
|
|
|
|
+ ),
|
|
);
|
|
);
|
|
|
|
|
|
TextTheme _buildTextTheme(Color textColor) {
|
|
TextTheme _buildTextTheme(Color textColor) {
|