mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-02 03:24:26 +00:00
Fixed wrong colors
This commit is contained in:
parent
8801428167
commit
4dd77a39d8
2 changed files with 13 additions and 1 deletions
|
@ -15,6 +15,15 @@ ThemeData lightTheme(ColorScheme? dynamicColorScheme) => ThemeData(
|
|||
textColor: dynamicColorScheme != null ? dynamicColorScheme.onSurfaceVariant : const Color.fromRGBO(117, 117, 117, 1),
|
||||
iconColor: dynamicColorScheme != null ? dynamicColorScheme.onSurfaceVariant : const Color.fromRGBO(117, 117, 117, 1),
|
||||
),
|
||||
cardTheme: CardTheme(
|
||||
surfaceTintColor: dynamicColorScheme?.surfaceTint
|
||||
),
|
||||
popupMenuTheme: PopupMenuThemeData(
|
||||
surfaceTintColor: dynamicColorScheme?.surfaceTint
|
||||
),
|
||||
navigationBarTheme: NavigationBarThemeData(
|
||||
surfaceTintColor: dynamicColorScheme?.surfaceTint
|
||||
)
|
||||
);
|
||||
|
||||
ThemeData darkTheme(ColorScheme? dynamicColorScheme) => ThemeData(
|
||||
|
@ -33,6 +42,9 @@ ThemeData darkTheme(ColorScheme? dynamicColorScheme) => ThemeData(
|
|||
textColor: dynamicColorScheme != null ? dynamicColorScheme.onSurfaceVariant : const Color.fromRGBO(187, 187, 187, 1),
|
||||
iconColor: dynamicColorScheme != null ? dynamicColorScheme.onSurfaceVariant : const Color.fromRGBO(187, 187, 187, 1),
|
||||
),
|
||||
cardTheme: CardTheme(
|
||||
surfaceTintColor: dynamicColorScheme?.surfaceTint
|
||||
)
|
||||
);
|
||||
|
||||
ThemeData lightThemeOldVersions(MaterialColor primaryColor) => ThemeData(
|
||||
|
|
|
@ -43,7 +43,7 @@ dependencies:
|
|||
sqflite: ^2.3.0
|
||||
package_info_plus: ^8.0.0
|
||||
flutter_displaymode: ^0.6.0
|
||||
dynamic_color: ^1.6.8
|
||||
dynamic_color: ^1.7.0
|
||||
animations: ^2.0.10
|
||||
device_info_plus: ^10.1.0
|
||||
uuid: ^4.2.1
|
||||
|
|
Loading…
Add table
Reference in a new issue