theme: Use gnome-shell-sass as a submodule

The sass sources now live in a project in GNOME, so they can
be used in multiple projects like gnome-shell-extensions.
Because of that, add gnome-shell-sass as a submodule and import the sass
sources from it.
This commit is contained in:
Carlos Soriano
2015-02-20 16:47:17 +01:00
parent 79f2792b7c
commit 96bdc9f350
5 changed files with 21 additions and 3 deletions
+3
View File
@@ -0,0 +1,3 @@
[submodule "data/gnome-shell-sass"]
path = data/gnome-shell-sass
url = https://git.gnome.org/browse/gnome-shell-sass/
+8
View File
@@ -12,6 +12,14 @@ test -f $srcdir/configure.ac || {
exit 1
}
# Fetch submodules if needed
if test ! -f data/gnome-shell-sass/COPYING;
then
echo "+ Setting up submodules"
git submodule init
fi
git submodule update
which gnome-autogen.sh || {
echo "You need to install gnome-common from GNOME Git (or from"
echo "your OS vendor's package manager)."
+6
View File
@@ -0,0 +1,6 @@
To generate the css files, from the project directory:
sass --sourcemap=none --update .
To update the gnome-shell-sass submodule to latest upstream commit:
git submodule update --rebase
+3 -3
View File
@@ -1,9 +1,9 @@
/* Use the gnome-shell theme, but with light colors */
$variant: 'light';
@import "../../gnome-shell/data/theme/_colors"; //use gtk colors
@import "../../gnome-shell/data/theme/_drawing";
@import "../../gnome-shell/data/theme/_common";
@import "gnome-shell-sass/_colors"; //use gtk colors
@import "gnome-shell-sass/_drawing";
@import "gnome-shell-sass/_common";
/* Overrides */