[gnome-shell/wip/sass: 88/88] theme: Use gnome-shell-sass as a submodule
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/sass: 88/88] theme: Use gnome-shell-sass as a submodule
- Date: Thu, 19 Feb 2015 17:55:08 +0000 (UTC)
commit 202fbb7902e82cd8fb8932c33fc020c647ae95ae
Author: Carlos Soriano <csoriano gnome org>
Date: Thu Feb 19 18:45:53 2015 +0100
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 of gnome-shell
and remove the sass sources from the theme directory.
.gitmodules | 3 +
autogen.sh | 2 +-
data/theme/HACKING | 3 +
data/theme/_colors.scss | 44 -
data/theme/_common.scss | 1808 -----------------------------
data/theme/_drawing.scss | 219 ----
data/theme/_high-contrast-colors.scss | 41 -
data/theme/gnome-shell-high-contrast.scss | 8 -
data/theme/gnome-shell.scss | 5 -
gnome-shell-sass | 1 +
10 files changed, 8 insertions(+), 2126 deletions(-)
---
diff --git a/.gitmodules b/.gitmodules
index c830da0..22423d5 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,6 @@
[submodule "src/gvc"]
path = src/gvc
url = git://git.gnome.org/libgnome-volume-control
+[submodule "gnome-shell-sass"]
+ path = gnome-shell-sass
+ url = https://git.gnome.org/browse/gnome-shell-sass/
diff --git a/autogen.sh b/autogen.sh
index 89ba6f5..88577d8 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -14,7 +14,7 @@ PKG_NAME="gnome-shell"
}
# Fetch submodules if needed
-if test ! -f src/gvc/Makefile.am;
+if test ! -f src/gvc/Makefile.am || test ! -d gnome-shell-sass;
then
echo "+ Setting up submodules"
git submodule init
diff --git a/data/theme/HACKING b/data/theme/HACKING
new file mode 100644
index 0000000..9240cca
--- /dev/null
+++ b/data/theme/HACKING
@@ -0,0 +1,3 @@
+To generate the css files, from the project directory:
+
+ sass --sourcemap=none --update ./gnome-shell-sass/ ./data/theme/
diff --git a/gnome-shell-sass b/gnome-shell-sass
new file mode 160000
index 0000000..dc58746
--- /dev/null
+++ b/gnome-shell-sass
@@ -0,0 +1 @@
+Subproject commit dc587463e140d76d2f85b539226f1fad8660804a
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]