From aed4cbc02445a0d8dade3ba2255978ec3c9719c9 Mon Sep 17 00:00:00 2001 From: Sara Kay <47927313+ssskay@users.noreply.github.com> Date: Thu, 12 Nov 2026 16:24:52 -0600 Subject: [PATCH] fix(gui-plugins): keep the pairing QR code dark on light in every theme (#63220) Co-authored-by: ssskay Co-authored-by: Claude Opus 5.5 --- packages/gui-plugins/src/pairing/page.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/gui-plugins/src/pairing/page.tsx b/packages/gui-plugins/src/pairing/page.tsx index b71412cf666..0fa98180d1c 100644 --- a/packages/gui-plugins/src/pairing/page.tsx +++ b/packages/gui-plugins/src/pairing/page.tsx @@ -373,7 +373,9 @@ function DialogPairing(props: { if (!value) return - return renderSVG(value, { border: 4, blackColor: "currentColor", whiteColor: "transparent" }) + // Scanners expect dark modules on a light quiet zone, so the code keeps black on white in every theme. Following + // the theme drew light modules on a dark background, which the Android app's scanner can't read. + return renderSVG(value, { border: 4 }) }) // The QR code's frame, which also holds the setup progress and its failure, so the dialog keeps its size. @@ -391,7 +393,7 @@ function DialogPairing(props: { {(current) => ( <>
svg]:size-full`} + class={`${frame} bg-v2-background-bg-base p-6 [&>svg]:size-full`} role="img" aria-label={ctx.t("qr")} innerHTML={qr()}