
Since we started to support the color-scheme preference, extensions should be able to provide appropriate variants (if they deal with colors). So look for a variant with -dark/-light suffix before using the plain stylesheet.css, and reload extension stylesheets on color scheme changes. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2324>