mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #3607] [MERGED] Fix unreadable QR codes with dark theme enabled #5481
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#5481
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/MHSanaei/3x-ui/pull/3607
Author: @Psychosoc1al
Created: 12/25/2025
Status: ✅ Merged
Merged: 1/2/2026
Merged by: @MHSanaei
Base:
main← Head:qr-codes-fix📝 Commits (1)
5bbff10Fix QR codes colors inversion📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
web/assets/css/custom.min.css(+1 -1)📄 Description
What is the pull request?
This PR addresses QR codes displaying which caused some "simple" QR readers (e.g. the one in
Nekobox) to not recognize the code with dark theme enabled.Basically the problem was in the
filter:invert(1)applied to the image, which broke the expectations of QR readers, I suppose. So basically changing the rule to not invert, but rather add a white background to an image fixed the problem.Here is the actual change:
From this:
To this:
Which part of the application is affected by the change?
Type of Changes
Screenshots
Before / After
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.