Minor fixes

This commit is contained in:
Juan Gilsanz Polo 2022-10-10 02:08:21 +02:00
parent 50c3ca720e
commit 1a6cbc71c3
4 changed files with 25 additions and 3 deletions

View file

@ -188,6 +188,13 @@ ThemeData lightThemeOldVersions() => ThemeData(
overlayColor: MaterialStateProperty.all(primaryColor.withOpacity(0.1))
),
),
elevatedButtonTheme: ElevatedButtonThemeData(
style: ButtonStyle(
foregroundColor: MaterialStateProperty.all(primaryColor),
surfaceTintColor: MaterialStateProperty.all(primaryColor),
overlayColor: MaterialStateProperty.all(primaryColor.shade50),
)
),
navigationBarTheme: NavigationBarThemeData(
surfaceTintColor: primaryColor,
indicatorColor: primaryColor
@ -276,6 +283,13 @@ ThemeData darkThemeOldVersions() => ThemeData(
overlayColor: MaterialStateProperty.all(primaryColor.withOpacity(0.1))
),
),
elevatedButtonTheme: ElevatedButtonThemeData(
style: ButtonStyle(
foregroundColor: MaterialStateProperty.all(primaryColor),
surfaceTintColor: MaterialStateProperty.all(primaryColor),
overlayColor: MaterialStateProperty.all(primaryColor.shade50),
)
),
inputDecorationTheme: InputDecorationTheme(
floatingLabelStyle: TextStyle(
color: primaryColor