public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Aaron Lauterer <a.lauterer@proxmox.com>
To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>,
	Dominik Csapak <d.csapak@proxmox.com>
Subject: Re: [pve-devel] [PATCH login-manager] fix colors for tfa dialog
Date: Mon, 20 Dec 2021 14:53:38 +0100	[thread overview]
Message-ID: <ba99eb52-09fb-ff11-b095-6db69b758a1d@proxmox.com> (raw)
In-Reply-To: <20211220113509.3122873-1-d.csapak@proxmox.com>

Seems to work fine.

Tested-By: Aaron Lauterer <a.lauterer@proxmox.com>

On 12/20/21 12:35, Dominik Csapak wrote:
> with the recent changes, the input field was invisible, adapting
> like the login dialog
> 
> Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
> ---
>   lib/proxmox_tfa_form.dart | 7 +++++--
>   1 file changed, 5 insertions(+), 2 deletions(-)
> 
> diff --git a/lib/proxmox_tfa_form.dart b/lib/proxmox_tfa_form.dart
> index db3cfa7..3743455 100644
> --- a/lib/proxmox_tfa_form.dart
> +++ b/lib/proxmox_tfa_form.dart
> @@ -17,9 +17,12 @@ class _ProxmoxTfaFormState extends State<ProxmoxTfaForm> {
>     @override
>     Widget build(BuildContext context) {
>       return Theme(
> -      data: ThemeData.dark().copyWith(accentColor: Color(0xFFE47225)),
> +      data: ThemeData.dark().copyWith(
> +          colorScheme: ColorScheme.dark().copyWith(
> +              secondary: ProxmoxColors.orange,
> +              onSecondary: ProxmoxColors.supportGrey)),
>         child: Scaffold(
> -        backgroundColor: Theme.of(context).primaryColor,
> +        backgroundColor: ProxmoxColors.supportBlue,
>           extendBodyBehindAppBar: true,
>           appBar: AppBar(
>             elevation: 0.0,




  reply	other threads:[~2021-12-20 13:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-20 11:35 Dominik Csapak
2021-12-20 13:53 ` Aaron Lauterer [this message]
2021-12-20 19:50 ` [pve-devel] applied: " Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ba99eb52-09fb-ff11-b095-6db69b758a1d@proxmox.com \
    --to=a.lauterer@proxmox.com \
    --cc=d.csapak@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal