• Bastien Nocera's avatar
    Make it easy for apps to have dark themes · 4551509a
    Bastien Nocera authored
    Some types of applications would benefit from having "dark" themes,
    usually black backgrounds, such as:
    * Movie players
    * Photo management and display applications
    To make it easy for those applications to prefer a dark theme,
    we're adding the "gtk-application-prefer-dark-theme" GtkSetting, which
    will make the theme loading code automatically look for a "gtkrc-dark"
    file in the same directory you would usually find a gtkrc file.
    the same name and a "-dark" suffix.
    If no "-dark" gtkrc variant is available, the normal gtkrc will
    be used.
appwindow.c 20.1 KB