-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ffa9846
commit 473c72c
Showing
19 changed files
with
141 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
gtk3_dir = join_paths(theme_path, 'gtk-3.0') | ||
|
||
scss_files = files([ | ||
'_colors-public.scss', | ||
'_colors.scss', | ||
'_common.scss', | ||
'_drawing.scss', | ||
'_gnome-apps.scss', | ||
'_lightdm-gtk-greeter.scss', | ||
'_others.scss', | ||
'_unity.scss', | ||
'_xfce.scss' | ||
]) | ||
|
||
# | ||
# Installing | ||
# | ||
|
||
install_subdir('assets', install_dir: gtk3_dir) | ||
install_subdir('apps', install_dir: gtk3_dir) | ||
install_data('settings.ini', install_dir : gtk3_dir) | ||
|
||
theme_deps += custom_target('Greybird-Dark', | ||
input: 'gtk-contained.scss', | ||
output: 'gtk.css', | ||
command: [ | ||
sassc, sassc_opts, '@INPUT@', '@OUTPUT@' | ||
], | ||
depend_files: scss_files, | ||
build_by_default: true, | ||
install: true, | ||
install_dir: gtk3_dir) | ||
|
||
theme_deps += custom_target('Greybird-Dark-Dark', | ||
input: 'gtk-contained-dark.scss', | ||
output: 'gtk-dark.css', | ||
command: [ | ||
sassc, sassc_opts, '@INPUT@', '@OUTPUT@' | ||
], | ||
depend_files: scss_files, | ||
build_by_default: true, | ||
install: true, | ||
install_dir: gtk3_dir) | ||
|
||
# we're commenting this out because of a meson bug in the version found in Leap | ||
#gtk_dark_gresources = gnome.compile_resources('gtk', 'gtk.gresource.xml', | ||
# source_dir: join_paths(meson.source_root(), 'light/gtk-3.0'), | ||
# install: true, | ||
# gresource_bundle: true, | ||
# install_dir: gtk3_dir) | ||
|
||
gtk_dark_gresources = custom_target('gtk-dark-gresources', | ||
input: 'gtk.gresource.xml', | ||
output: 'gtk.gresource', | ||
command: [ | ||
glib_compile_resources, '@INPUT@', '--target', '@OUTPUT@', '--sourcedir', meson.current_source_dir() | ||
], | ||
build_by_default: true, | ||
install: true, | ||
install_dir: gtk3_dir) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../light/gtk-4.0/Gemfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../light/gtk-4.0/README |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../light/gtk-4.0/_colors-public.scss |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../light/gtk-4.0/_colors.scss |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../light/gtk-4.0/_common.scss |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../light/gtk-4.0/_drawing.scss |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../light/gtk-4.0/apps/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../light/gtk-4.0/assets/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../light/gtk-4.0/gtk-contained-dark.scss |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// General guidelines: | ||
// - very unlikely you want to edit something else than _common.scss | ||
// - keep the number of defined colors to a minimum, use the color blending functions if | ||
// you need a subtle shade | ||
// - if you need to inverse a color function use the @if directive to match for dark $variant | ||
|
||
$variant: 'dark'; | ||
|
||
@import 'colors'; | ||
@import 'drawing'; | ||
@import 'common'; | ||
@import 'colors-public'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../light/gtk-4.0/gtk-dark.scss |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../light/gtk-4.0/gtk.gresource.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../light/gtk-4.0/gtk.scss |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
gtk4_dir = join_paths(theme_path, 'gtk-4.0') | ||
|
||
scss_files = files([ | ||
'_colors-public.scss', | ||
'_colors.scss', | ||
'_common.scss', | ||
'_drawing.scss' | ||
]) | ||
|
||
# | ||
# Installing | ||
# | ||
|
||
install_subdir('assets', install_dir: gtk4_dir) | ||
install_subdir('apps', install_dir: gtk4_dir) | ||
|
||
theme_deps += custom_target('Greybird-Dark', | ||
input: 'gtk-contained.scss', | ||
output: 'gtk.css', | ||
command: [ | ||
sassc, sassc_opts, '@INPUT@', '@OUTPUT@' | ||
], | ||
depend_files: scss_files, | ||
build_by_default: true, | ||
install: true, | ||
install_dir: gtk4_dir) | ||
|
||
theme_deps += custom_target('Greybird-Dark-Dark', | ||
input: 'gtk-contained-dark.scss', | ||
output: 'gtk-dark.css', | ||
command: [ | ||
sassc, sassc_opts, '@INPUT@', '@OUTPUT@' | ||
], | ||
depend_files: scss_files, | ||
build_by_default: true, | ||
install: true, | ||
install_dir: gtk4_dir) | ||
|
||
# we're commenting this out because of a meson bug in the version found in Leap | ||
#gtk_dark_gresources = gnome.compile_resources('gtk', 'gtk.gresource.xml', | ||
# source_dir: join_paths(meson.source_root(), 'light/gtk-3.0'), | ||
# install: true, | ||
# gresource_bundle: true, | ||
# install_dir: gtk4_dir) | ||
|
||
gtk_dark_gresources = custom_target('gtk-dark-gresources', | ||
input: 'gtk.gresource.xml', | ||
output: 'gtk.gresource', | ||
command: [ | ||
glib_compile_resources, '@INPUT@', '--target', '@OUTPUT@', '--sourcedir', meson.current_source_dir() | ||
], | ||
build_by_default: true, | ||
install: true, | ||
install_dir: gtk4_dir) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,3 @@ $variant: 'dark'; | |
@import 'drawing'; | ||
@import 'common'; | ||
@import 'colors-public'; | ||
@import 'gnome-apps'; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters