QR code difficult to see on dark mode themes

Created on 8 August 2024, 4 months ago
Updated 19 August 2024, 4 months ago

Problem/Motivation

The QR code is difficult to see on dark mode themes, could potentially cause scan issues on various devices.

Steps to reproduce

Visit the "TFA setup" screen at user/[user-id]/security/tfa/tfa_totp with a dark mode enabled admin theme. The QR code renders as black and contrast is awkward.

Proposed resolution

There's no CSS library currently in use but there is an inline <style> added to handle the width, let's just pop in a white background colour there to resolve contrast issues?

User interface changes

Add a clean white background behind the QR code.

✨ Feature request
Status

Needs work

Version

2.0

Component

User interface

Created by

πŸ‡³πŸ‡ΏNew Zealand chroid

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024