<div dir="auto">The way we’ve implemented this is that we always query all named colors, regardless of what change notification we receive. So even if a color theme change wouldn’t trigger a notification, a subsequent accent color change (that you observe) should pick up the changed fg/bg colors.</div><div dir="auto"><br></div><div dir="auto">Sounds like an issue with GTK or the underlying shell bindings. One way to test this hypothesis could be to write a simple GTK program that exercises the gtk_style_lookup_color API after a theme change. </div><div dir="auto"><br></div><div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">Christopher Schnick <<a href="mailto:crschnick@xpipe.io">crschnick@xpipe.io</a>> schrieb am Fr. 28. Feb. 2025 um 21:01:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">The only change that is registered when I switch between dark mode <br>
settings is:<br>
replaced Yaru by Yaru-dark at key GTK.theme_name<br>
<br>
If I change the accent color, it registers the following changes:<br>
replaced 0xe95420ff by 0x03875bff at key <br>
GTK.theme_unfocused_selected_bg_color<br>
replaced 0xe95420ff by 0x03875bff at key GTK.theme_selected_bg_color<br>
replaced Yaru by Yaru-viridian at key GTK.theme_name<br>
<br>
It seems like this is very much limited to the foreground and background <br>
colors not updating. The fg and bg color is also not updating when <br>
restarting the application or even rebooting. I switched to light mode, <br>
rebooted, and it still reports dark mode.<br>
<br>
On 28/02/2025 14:49, Michael Strauß wrote:<br>
> Are colors reported at all in the change notification on your system?<br>
> If not, then it's probably because gtk_style_lookup_color() returns false.<br>
</blockquote></div></div>