[pve-devel] [PATCH proxmox-login-manager 3/3] improve colors of login screen

Dominik Csapak d.csapak at proxmox.com
Thu Sep 8 11:55:40 CEST 2022


default primary color was a purple hue that did not really fit with our
theme. That was used on highlighting form fields and the progress
indicator. I replaced it with orange since that fits nicely with
the rest of the look and feel

also removed the use of accentColor int he ProxmoxProgressOverlay, so
that the text appears now white instead of some shade of cyan.

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 lib/proxmox_login_form.dart | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/proxmox_login_form.dart b/lib/proxmox_login_form.dart
index 5e9198f..706315f 100644
--- a/lib/proxmox_login_form.dart
+++ b/lib/proxmox_login_form.dart
@@ -220,6 +220,7 @@ class _ProxmoxLoginPageState extends State<ProxmoxLoginPage> {
           ),
         ),
         colorScheme: ColorScheme.dark().copyWith(
+          primary: ProxmoxColors.orange,
             secondary: ProxmoxColors.orange,
             onSecondary: ProxmoxColors.supportGrey
         ),
@@ -590,7 +591,6 @@ class ProxmoxProgressOverlay extends StatelessWidget {
             Text(
               message,
               style: TextStyle(
-                color: Theme.of(context).accentColor,
                 fontSize: 20,
               ),
             ),
-- 
2.30.2






More information about the pve-devel mailing list