forked from AuroraMiddleware/gtk
0dcf95b898
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.
27 lines
542 B
Meson
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
|