Skip to content

Add dark theme support to webextension#2080

Merged
andyholmes merged 2 commits intoGSConnect:mainfrom
expuss2000:webextension-dark-theme
Oct 31, 2025
Merged

Add dark theme support to webextension#2080
andyholmes merged 2 commits intoGSConnect:mainfrom
expuss2000:webextension-dark-theme

Conversation

@expuss2000
Copy link
Copy Markdown

I also use buttons instead of only images to leverage browser default dark theme styles for hover/active states.

Light theme:
gsconnect-light
gsconnect-nodevice-light

Dark theme:
gsconnect-dark
gsconnect-nodevice-dark

I also had to make a small change to the JavaScript to replace URL (that is now a function) with TARGET_URL (taken from #1977).

Tested with Firefox 143.0.3 on Fedora 42.

@andyholmes andyholmes self-requested a review October 31, 2025 17:32
Copy link
Copy Markdown
Collaborator

@andyholmes andyholmes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just needs a rebase on the main branch, thanks!

Luca Bassi added 2 commits October 31, 2025 18:36
URL is a function and therefore causes the error "Function object could not be cloned"
@expuss2000
Copy link
Copy Markdown
Author

LGTM, just needs a rebase on the main branch, thanks!

Rebased

@andyholmes andyholmes enabled auto-merge (rebase) October 31, 2025 17:55
@andyholmes andyholmes merged commit 3fd175b into GSConnect:main Oct 31, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants