[gnome-shell-extensions/wip/sass: 8/8] theme: Use gnome-shell-sass as a submodule



commit 79a2e77a29a40c7dcca65ebec908a313bd66ee6d
Author: Carlos Soriano <csoriano gnome org>
Date:   Fri Feb 20 14:11:44 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 and import the sass
    sources from it.

 .gitmodules             |    3 +++
 data/HACKING            |    3 +++
 data/gnome-classic.scss |    6 +++---
 data/gnome-shell-sass   |    1 +
 4 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..f063b42
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule "data/gnome-shell-sass"]
+       path = data/gnome-shell-sass
+       url = https://git.gnome.org/browse/gnome-shell-sass/
diff --git a/data/HACKING b/data/HACKING
new file mode 100644
index 0000000..739dfee
--- /dev/null
+++ b/data/HACKING
@@ -0,0 +1,3 @@
+To generate the css files, from the project directory:
+
+sass --sourcemap=none --update .
diff --git a/data/gnome-classic.scss b/data/gnome-classic.scss
index 3f9812d..c3153d4 100644
--- a/data/gnome-classic.scss
+++ b/data/gnome-classic.scss
@@ -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 */
 
diff --git a/data/gnome-shell-sass b/data/gnome-shell-sass
new file mode 160000
index 0000000..9890934
--- /dev/null
+++ b/data/gnome-shell-sass
@@ -0,0 +1 @@
+Subproject commit 98909344c9623147184f8f28d0a4d87f412b4762


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]