workbenchdev / Workbench

Code playground for GNOME 🛠️
https://apps.gnome.org/Workbench
GNU General Public License v3.0
692 stars 90 forks source link

Adwaita Demo doesn't respect Workbench color scheme #44

Open sonnyp opened 2 years ago

sonnyp commented 2 years ago

When Workbench is in dark mode, Adwaita Demo should open in dark mode as well.

See https://github.com/sonnyp/Workbench/commit/10f597df4cbf57541e8cb207e472e8fd12ccc536

No idea if there is a way to set default color scheme to dark in a sandbox.

sonnyp commented 1 year ago

JCWasmx86 added plumbing to AdwStyleManager to allow GNOME Builder to launch apps with light/default/dark color scheme, as well as in high contrast. This has also been backported to Libhandy, and is available in 1.8.0 (which doesn’t have a blog post as it’s the only noteworthy change there).

https://blogs.gnome.org/alexm/2022/09/15/libadwaita-1-2/

so it's doable now \o/