Make HighContrastInverse a dark variant

Make HighContrastInverse available as the dark variant of HighContrast,
in addition to being a standalone theme. This regularizes our theme
variants, and doesn't hurt.
This commit is contained in:
Matthias Clasen 2021-01-14 22:55:52 -05:00
parent f04e5bd590
commit f60d245e32
4 changed files with 5 additions and 4 deletions

View File

@ -49,9 +49,10 @@ for f in get_files('theme/Adwaita/assets', '.svg'):
xml += '''
<file>theme/HighContrast/gtk.css</file>
<file alias='theme/HighContrastInverse/gtk.css'>theme/HighContrast/gtk-inverse.css</file>
<file>theme/HighContrast/gtk-dark.css</file>
<file alias='theme/HighContrastInverse/gtk.css'>theme/HighContrast/gtk-dark.css</file>
<file>theme/HighContrast/HighContrast.css</file>
<file>theme/HighContrast/HighContrast-inverse.css</file>
<file>theme/HighContrast/HighContrast-dark.css</file>
'''
for f in get_files('theme/HighContrast/assets', '.png'):

View File

@ -1 +1 @@
@import url("resource:///org/gtk/libgtk/theme/HighContrast/HighContrast-inverse.css");
@import url("resource:///org/gtk/libgtk/theme/HighContrast/HighContrast-dark.css");

View File

@ -3,7 +3,7 @@ hc_scss_files = files([
])
hc_theme_variants = [
'inverse',
'dark',
]
hc_theme_deps = [