2020-02-12 20:18:27 +00:00
|
|
|
adwaita_scss_files = files([
|
2017-06-01 13:56:32 +00:00
|
|
|
'_colors-public.scss',
|
|
|
|
'_colors.scss',
|
|
|
|
'_common.scss',
|
|
|
|
'_drawing.scss',
|
|
|
|
])
|
|
|
|
|
2020-02-12 20:18:27 +00:00
|
|
|
adwaita_theme_variants = [
|
2017-06-01 13:56:32 +00:00
|
|
|
'dark',
|
|
|
|
]
|
|
|
|
|
2020-02-12 20:18:27 +00:00
|
|
|
adwaita_theme_deps = [
|
|
|
|
custom_target('Adwaita theme',
|
|
|
|
input: 'Adwaita.scss',
|
|
|
|
output: 'Adwaita.css',
|
|
|
|
command: [
|
|
|
|
sassc, sassc_opts, '@INPUT@', '@OUTPUT@',
|
|
|
|
],
|
|
|
|
depend_files: adwaita_scss_files,
|
|
|
|
),
|
|
|
|
]
|
2017-06-01 13:56:32 +00:00
|
|
|
|
2020-02-12 20:18:27 +00:00
|
|
|
foreach variant: adwaita_theme_variants
|
|
|
|
adwaita_theme_deps += custom_target('Adwaita theme variant: ' + variant,
|
|
|
|
input: 'Adwaita-@0@.scss'.format(variant),
|
|
|
|
output: 'Adwaita-@0@.css'.format(variant),
|
|
|
|
command: [
|
|
|
|
sassc, sassc_opts, '@INPUT@', '@OUTPUT@',
|
|
|
|
],
|
|
|
|
depend_files: adwaita_scss_files,
|
|
|
|
)
|
2017-06-01 13:56:32 +00:00
|
|
|
endforeach
|