[pve-devel] [PATCH pve-flutter-frontend 07/10] improve colors for indicator/toggles
Dominik Csapak
d.csapak at proxmox.com
Thu Sep 8 11:55:47 CEST 2022
so that it fits better with our color schemes instead of using the
flutter defaults (which are especially bad in dark mode for our scheme)
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
lib/main.dart | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lib/main.dart b/lib/main.dart
index d467626..c9b862e 100644
--- a/lib/main.dart
+++ b/lib/main.dart
@@ -114,6 +114,8 @@ class MyApp extends StatelessWidget {
background: ProxmoxColors.supportGreyTint75,
onBackground: Colors.black,
),
+ toggleableActiveColor: ProxmoxColors.supportBlue,
+ indicatorColor: ProxmoxColors.orange,
textButtonTheme: TextButtonThemeData(
style: TextButton.styleFrom(primary: ProxmoxColors.grey),
),
@@ -145,6 +147,8 @@ class MyApp extends StatelessWidget {
background: ProxmoxColors.grey,
onBackground: ProxmoxColors.supportGreyTint75,
),
+ toggleableActiveColor: ProxmoxColors.blue500,
+ indicatorColor: ProxmoxColors.orange,
// flutter has a weird logic where it pulls colors from different
// scheme properties depending on light/dark mode, avoid that...
appBarTheme: AppBarTheme(
--
2.30.2
More information about the pve-devel
mailing list