gtk2/gtk/theme/Default/meson.build
Matthias Clasen 0dcf95b898 Reorganize our themes
Rename the included theme to Default, with 4 variants:
light, dark, hc, hc-dark. This replaces Adwaita,
Adwaita:dark, HighContrast and HighContrastInverse.
We still make the themes available under these names,
and we still set up Adwaita-dark and HighContrastInverse
as the dark variants of Adwaita and HighContrast.

The unification of the theme variants under Default
is not quite perfect; it would be nice to merge
the assets/ and assets-hc/ subdirectories and render
all assets from a single svg file.
2021-04-01 11:42:17 -04:00

27 lines
542 B
Meson

default_scss_files = files([
'_colors-public.scss',
'_colors.scss',
'_common.scss',
'_drawing.scss',
])
default_theme_variants = [
'light',
'dark',
'hc',
'hc-dark',
]
default_theme_deps = []
foreach variant: default_theme_variants
default_theme_deps += custom_target('Default theme variant: ' + variant,
input: 'Default-@0@.scss'.format(variant),
output: 'Default-@0@.css'.format(variant),
command: [
sassc, sassc_opts, '@INPUT@', '@OUTPUT@',
],
depend_files: default_scss_files,
)
endforeach