mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-12 20:00:09 +00:00
15458b5af3
Our default theme is now Default, not Adwaita, & HighContrastInverse was renamed to Default-hc. So these checks did not work anymore. Rather than hard-coding the new names, & possibly running into the same issue again, we can just look for the convention of appending -dark to the theme name and/or the Settings:prefer-dark-theme prop. The latter, we can & likely SHOULD also apply to all themes - not just ours as before. We also check for the :dark suffix as that means the theme variant - & before checking GtkSettings check the GTK_THEME env var, just as GtkSettings itself does |
||
---|---|---|
.. | ||
constraint-editor | ||
gtk-demo | ||
icon-browser | ||
node-editor | ||
print-editor | ||
widget-factory | ||
meson.build |