2020-02-12 20:18:27 +00:00
|
|
|
hc_scss_files = files([
|
2020-03-24 14:59:33 +00:00
|
|
|
'_colors-hc.scss',
|
2017-06-01 13:56:32 +00:00
|
|
|
])
|
|
|
|
|
2020-02-12 20:18:27 +00:00
|
|
|
hc_theme_variants = [
|
2017-06-01 13:56:32 +00:00
|
|
|
'inverse',
|
|
|
|
]
|
|
|
|
|
2020-02-12 20:18:27 +00:00
|
|
|
hc_theme_deps = [
|
|
|
|
custom_target('HighContrast theme',
|
|
|
|
input: 'HighContrast.scss',
|
|
|
|
output: 'HighContrast.css',
|
|
|
|
command: [
|
|
|
|
sassc, sassc_opts, '@INPUT@', '@OUTPUT@',
|
|
|
|
],
|
2020-04-16 16:40:37 +00:00
|
|
|
depend_files: [ hc_scss_files, adwaita_scss_files ],
|
2020-02-12 20:18:27 +00:00
|
|
|
)
|
|
|
|
]
|
2017-06-01 13:56:32 +00:00
|
|
|
|
2020-02-12 20:18:27 +00:00
|
|
|
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@',
|
|
|
|
],
|
2020-04-16 16:40:37 +00:00
|
|
|
depend_files: [ hc_scss_files, adwaita_scss_files ],
|
2020-02-12 20:18:27 +00:00
|
|
|
)
|
2017-06-01 13:56:32 +00:00
|
|
|
endforeach
|