[pve-devel] [PATCH login-manager] fix colors for tfa dialog
Aaron Lauterer
a.lauterer at proxmox.com
Mon Dec 20 14:53:38 CET 2021
Seems to work fine.
Tested-By: Aaron Lauterer <a.lauterer at 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 at 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,
More information about the pve-devel
mailing list