2017-05-24 20:16:27 -04:00
|
|
|
theme_sources = files([
|
|
|
|
'gnome-shell-high-contrast.scss',
|
|
|
|
'gnome-shell.scss',
|
|
|
|
'gnome-shell-sass/_colors.scss',
|
|
|
|
'gnome-shell-sass/_common.scss',
|
|
|
|
'gnome-shell-sass/_drawing.scss',
|
2019-12-20 16:11:51 -05:00
|
|
|
'gnome-shell-sass/_high-contrast-colors.scss',
|
|
|
|
'gnome-shell-sass/_widgets.scss',
|
2020-01-19 11:41:44 -05:00
|
|
|
'gnome-shell-sass/widgets/_a11y.scss',
|
2019-12-20 16:11:51 -05:00
|
|
|
'gnome-shell-sass/widgets/_app-grid.scss',
|
2020-01-19 11:18:06 -05:00
|
|
|
'gnome-shell-sass/widgets/_base.scss',
|
2019-12-20 16:11:51 -05:00
|
|
|
'gnome-shell-sass/widgets/_buttons.scss',
|
|
|
|
'gnome-shell-sass/widgets/_calendar.scss',
|
|
|
|
'gnome-shell-sass/widgets/_check-box.scss',
|
|
|
|
'gnome-shell-sass/widgets/_corner-ripple.scss',
|
|
|
|
'gnome-shell-sass/widgets/_dash.scss',
|
|
|
|
'gnome-shell-sass/widgets/_dialogs.scss',
|
|
|
|
'gnome-shell-sass/widgets/_entries.scss',
|
|
|
|
'gnome-shell-sass/widgets/_hotplug.scss',
|
|
|
|
'gnome-shell-sass/widgets/_ibus-popup.scss',
|
|
|
|
'gnome-shell-sass/widgets/_keyboard.scss',
|
|
|
|
'gnome-shell-sass/widgets/_login-dialog.scss',
|
|
|
|
'gnome-shell-sass/widgets/_looking-glass.scss',
|
|
|
|
'gnome-shell-sass/widgets/_message-list.scss',
|
|
|
|
'gnome-shell-sass/widgets/_misc.scss',
|
|
|
|
'gnome-shell-sass/widgets/_network-dialog.scss',
|
|
|
|
'gnome-shell-sass/widgets/_notifications.scss',
|
|
|
|
'gnome-shell-sass/widgets/_osd.scss',
|
|
|
|
'gnome-shell-sass/widgets/_overview.scss',
|
|
|
|
'gnome-shell-sass/widgets/_panel.scss',
|
|
|
|
'gnome-shell-sass/widgets/_popovers.scss',
|
2022-07-24 13:29:50 -04:00
|
|
|
'gnome-shell-sass/widgets/_quick-settings.scss',
|
2019-12-20 16:11:51 -05:00
|
|
|
'gnome-shell-sass/widgets/_screen-shield.scss',
|
2021-08-16 03:25:52 -04:00
|
|
|
'gnome-shell-sass/widgets/_screenshot.scss',
|
2019-12-20 16:11:51 -05:00
|
|
|
'gnome-shell-sass/widgets/_scrollbars.scss',
|
|
|
|
'gnome-shell-sass/widgets/_search-entry.scss',
|
|
|
|
'gnome-shell-sass/widgets/_search-results.scss',
|
|
|
|
'gnome-shell-sass/widgets/_slider.scss',
|
2020-01-21 07:49:58 -05:00
|
|
|
'gnome-shell-sass/widgets/_switcher-popup.scss',
|
2019-12-20 16:11:51 -05:00
|
|
|
'gnome-shell-sass/widgets/_switches.scss',
|
|
|
|
'gnome-shell-sass/widgets/_window-picker.scss',
|
2020-01-19 12:08:42 -05:00
|
|
|
'gnome-shell-sass/widgets/_workspace-switcher.scss',
|
|
|
|
'gnome-shell-sass/widgets/_workspace-thumbnails.scss'
|
2017-05-24 20:16:27 -04:00
|
|
|
])
|
|
|
|
|
2020-12-28 18:01:03 -05:00
|
|
|
stylesheets = [
|
|
|
|
'gnome-shell-high-contrast.css',
|
|
|
|
'gnome-shell.css'
|
2018-02-07 07:31:50 -05:00
|
|
|
]
|
|
|
|
|
2020-12-28 18:01:03 -05:00
|
|
|
foreach stylesheet: stylesheets
|
|
|
|
if not fs.exists(stylesheet)
|
|
|
|
sassc = find_program('sassc')
|
|
|
|
theme_deps += custom_target(stylesheet,
|
|
|
|
input: fs.replace_suffix(stylesheet, '.scss'),
|
|
|
|
output: stylesheet,
|
|
|
|
command: [
|
|
|
|
sassc, '-a', '@INPUT@', '@OUTPUT@'
|
|
|
|
],
|
|
|
|
depend_files: theme_sources)
|
|
|
|
endif
|
2018-02-20 04:24:24 -05:00
|
|
|
endforeach
|
2019-12-20 16:11:51 -05:00
|
|
|
|