Re: Detect dark or light theme from an application

2018-11-06 Thread Emmanuele Bassi via gtk-app-devel-list
On Wed, 7 Nov 2018 at 00:48, Yuri Khan via gtk-app-devel-list < gtk-app-devel-list@gnome.org> wrote: > Hello everybody, > > I know in the GTK+3 theming engine a theme can define a light variant > and a dark variant. Is it possible, in an application, to know which > variant is currently used,

Detect dark or light theme from an application

2018-11-06 Thread Yuri Khan via gtk-app-devel-list
Hello everybody, I know in the GTK+3 theming engine a theme can define a light variant and a dark variant. Is it possible, in an application, to know which variant is currently used, and/or specify which widget in the application uses which variant? Here’s the wider context: Mozilla Firefox uses