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.
parent 79f2792b
[submodule "data/gnome-shell-sass"]
path = data/gnome-shell-sass
url =
......@@ -12,6 +12,14 @@ test -f $srcdir/ || {
exit 1
# Fetch submodules if needed
if test ! -f data/gnome-shell-sass/COPYING;
echo "+ Setting up submodules"
git submodule init
git submodule update
which || {
echo "You need to install gnome-common from GNOME Git (or from"
echo "your OS vendor's package manager)."
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
/* 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 */
gnome-shell-sass @ 98909344
Subproject commit 98909344c9623147184f8f28d0a4d87f412b4762
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment