]> git.proxmox.com Git - flutter/proxmox_login_manager.git/commitdiff
improve colors of login screen
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 8 Sep 2022 09:55:40 +0000 (11:55 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 8 Sep 2022 14:02:50 +0000 (16:02 +0200)
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@proxmox.com>
lib/proxmox_login_form.dart

index 5e9198fd5df3e55d7cdfc7a1c1278b9070ff0403..706315f510e2e0deb6fb2a5b84319695fd252bf1 100644 (file)
@@ -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,
               ),
             ),