From 65414219289fcd2c3febdc01a7a83e38d005b793 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Fri, 23 Jan 2026 14:49:28 +0000 Subject: [PATCH] Fix NIP-46 QR code styling to use tokenized colors and utility classes Updated `js/ui/loginModalController.js` to resolve QR code colors from CSS variables (`--color-white`, `--color-black`) instead of hardcoding hex values, ensuring compatibility with the design system. Updated `components/login-modal.html` to use Tailwind utility classes (`bg-white`, `text-black`, `p-6`) instead of inline styles, improving maintainability and readability. This ensures the QR code remains scannable (high contrast) while respecting the codebase's tokenized styling approach. --- components/login-modal.html | 3 +-- js/ui/loginModalController.js | 17 +++++++++++++++-- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/components/login-modal.html b/components/login-modal.html index fb9195c8..41ee6f9f 100644 --- a/components/login-modal.html +++ b/components/login-modal.html @@ -348,8 +348,7 @@