From fce8e672dd3a42758a03d5bec10aaa2a496525ff Mon Sep 17 00:00:00 2001 From: poppingmoon <63451158+poppingmoon@users.noreply.github.com> Date: Sat, 9 Nov 2024 11:26:02 +0900 Subject: [PATCH] fix: change underline color --- lib/provider/theme_data_provider.dart | 3 ++- lib/provider/theme_data_provider.g.dart | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/provider/theme_data_provider.dart b/lib/provider/theme_data_provider.dart index 6afc6563..3531f94d 100644 --- a/lib/provider/theme_data_provider.dart +++ b/lib/provider/theme_data_provider.dart @@ -41,7 +41,7 @@ ThemeData themeData(Ref ref, Brightness brightness) { dividerColor: colors.divider, canvasColor: colors.bg, scaffoldBackgroundColor: colors.bg, - textTheme: ThemeData.light() + textTheme: ThemeData(brightness: brightness) .textTheme .merge( TextTheme( @@ -63,6 +63,7 @@ ThemeData themeData(Ref ref, Brightness brightness) { : null, displayColor: colors.fg, bodyColor: colors.fg, + decorationColor: colors.fg, ), iconTheme: IconThemeData(color: colors.fg), inputDecorationTheme: InputDecorationTheme( diff --git a/lib/provider/theme_data_provider.g.dart b/lib/provider/theme_data_provider.g.dart index 10179147..ff5cfd8d 100644 --- a/lib/provider/theme_data_provider.g.dart +++ b/lib/provider/theme_data_provider.g.dart @@ -6,7 +6,7 @@ part of 'theme_data_provider.dart'; // RiverpodGenerator // ************************************************************************** -String _$themeDataHash() => r'ca83d1e8f17a5c1b567a01b2ddbcbae6cc04d62f'; +String _$themeDataHash() => r'aedd9f4e335949fdb7202c6f73b9319f6ae82783'; /// Copied from Dart SDK class _SystemHash {