From c8f43064b9edfb7d13ad72ace5acad3041af60d7 Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Mon, 15 Apr 2024 11:38:17 -0700 Subject: [PATCH] Fix Light Theme List Tile Colors --- lib/themes/opaque.dart | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/themes/opaque.dart b/lib/themes/opaque.dart index a8d39fdb..a130d25b 100644 --- a/lib/themes/opaque.dart +++ b/lib/themes/opaque.dart @@ -212,7 +212,8 @@ ThemeData mkThemeData(Settings opaque) { actionsIconTheme: IconThemeData( color: opaque.current().mainTextColor, )), - listTileTheme: ListTileThemeData(titleTextStyle: defaultFormLabelTextStyle, subtitleTextStyle: defaultMessageTextStyle), + listTileTheme: ListTileThemeData( + titleTextStyle: defaultFormLabelTextStyle.copyWith(color: opaque.current().mainTextColor), subtitleTextStyle: defaultMessageTextStyle.copyWith(color: opaque.current().mainTextColor)), iconButtonTheme: IconButtonThemeData(style: ButtonStyle(textStyle: MaterialStateProperty.all(defaultFormLabelTextStyle))), //bottomNavigationBarTheme: BottomNavigationBarThemeData(type: BottomNavigationBarType.fixed, backgroundColor: opaque.current().backgroundHilightElementColor), // Can't determine current use textButtonTheme: TextButtonThemeData( @@ -245,8 +246,8 @@ ThemeData mkThemeData(Settings opaque) { labelColor: opaque.current().mainTextColor, unselectedLabelColor: opaque.current().mainTextColor, indicator: UnderlineTabIndicator(borderSide: BorderSide(color: opaque.current().defaultButtonActiveColor)), - labelStyle: opaque.scaleFonts(defaultTextButtonStyle), - unselectedLabelStyle: opaque.scaleFonts(defaultTextStyle), + labelStyle: opaque.scaleFonts(defaultTextButtonStyle).copyWith(color: opaque.current().mainTextColor), + unselectedLabelStyle: opaque.scaleFonts(defaultTextStyle).copyWith(color: opaque.current().mainTextColor), tabAlignment: TabAlignment.center), dialogTheme: DialogTheme( backgroundColor: opaque.current().backgroundPaneColor,