theme: Include both dark and light variant in resource

This will allow us to switch between the variants according to
the color-scheme setting.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5545

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2324>
This commit is contained in:
Florian Müllner
2022-06-03 16:15:38 +02:00
parent 4c727b4680
commit d76f309dba
6 changed files with 15 additions and 5 deletions

View File

@ -22,7 +22,7 @@ if (Config.HAVE_NETWORKMANAGER)
const _modes = {
'restrictive': {
parentMode: null,
stylesheetName: 'gnome-shell.css',
stylesheetName: 'gnome-shell-dark.css',
themeResourceName: 'gnome-shell-theme.gresource',
hasOverview: false,
showCalendarEvents: false,