[gnome-themes-standard] custom functions: better way to define them directly in sass



commit 0c3a7383e4a00190d768ca6194f857e0c4a9ac52
Author: Jakub Steiner <jimmac gmail com>
Date:   Mon Jun 9 18:26:19 2014 +0200

    custom functions: better way to define them directly in sass

 themes/Adwaita/gtk-3.0/_common.scss        |    4 ++++
 themes/Adwaita/gtk-3.0/custom_functions.rb |    5 -----
 themes/Adwaita/gtk-3.0/parse-sass.sh       |    2 +-
 3 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss
index e0cad6a..e6a1d67 100644
--- a/themes/Adwaita/gtk-3.0/_common.scss
+++ b/themes/Adwaita/gtk-3.0/_common.scss
@@ -1,3 +1,7 @@
+ function gtkalpha($c,$a) {
+  @return unquote("alpha(#{$c},#{$a})");
+}
+
 * {
   engine: adwaita;
   padding: 0;
diff --git a/themes/Adwaita/gtk-3.0/parse-sass.sh b/themes/Adwaita/gtk-3.0/parse-sass.sh
index 108f11e..cc1c40f 100755
--- a/themes/Adwaita/gtk-3.0/parse-sass.sh
+++ b/themes/Adwaita/gtk-3.0/parse-sass.sh
@@ -1,3 +1,3 @@
 #! /usr/bin/which bash
 
-sass --update -r custom_functions.rb .
+sass --update .


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