theme-switcher icon indicating copy to clipboard operation
theme-switcher copied to clipboard

Fix icon not updating when system theme changes

Open scbj opened this issue 9 months ago • 0 comments

The theme icon wasn't updating when the system theme changed outside the extension — for example, through GNOME Settings, a Night Light schedule, or gsettings.

This change adds a listener to color-scheme so the icon updates automatically when the theme changes. No more out-of-sync icons — everything stays up to date without needing to reload the extension.

scbj avatar Apr 30 '25 01:04 scbj