How can I get the System Theme Color for Gnome shell extension?

Hey~ Folks, I got a trouble: I wanna get the System Theme Color for my Gnome Shell Extension, but I have no idea!

I wanna get this color user chooses currently ~

and listen for changing of these colors. The code of my Gnome shell extension Preferences is referenced from Preferences | GNOME JavaScript .
Can you folks help me?

Regards,
larryw3i

1 Like

This color selection is a Ubuntu-specific patch and is only available on Ubuntu systems. This seems to be the gnome-shell patch they use to apply the different themes for the different color variants: main-Support-loading-multiple-Yaru-theme-variants.patch « ubuntu « patches « debian - ubuntu/+source/gnome-shell - [no description]

1 Like

Ok! Thank you @skeller.

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.