forked from AuroraMiddleware/gtk
f60d245e32
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.
30 lines
694 B
Meson
30 lines
694 B
Meson
hc_scss_files = files([
|
|
'_colors-hc.scss',
|
|
])
|
|
|
|
hc_theme_variants = [
|
|
'dark',
|
|
]
|
|
|
|
hc_theme_deps = [
|
|
custom_target('HighContrast theme',
|
|
input: 'HighContrast.scss',
|
|
output: 'HighContrast.css',
|
|
command: [
|
|
sassc, sassc_opts, '@INPUT@', '@OUTPUT@',
|
|
],
|
|
depend_files: [ hc_scss_files, adwaita_scss_files ],
|
|
)
|
|
]
|
|
|
|
foreach variant: hc_theme_variants
|
|
hc_theme_deps += custom_target('HighContrast theme variant: ' + variant,
|
|
input: 'HighContrast-@0@.scss'.format(variant),
|
|
output: 'HighContrast-@0@.css'.format(variant),
|
|
command: [
|
|
sassc, sassc_opts, '@INPUT@', '@OUTPUT@',
|
|
],
|
|
depend_files: [ hc_scss_files, adwaita_scss_files ],
|
|
)
|
|
endforeach
|