diff --git a/gtk/theme/HighContrast/Gemfile b/gtk/theme/HighContrast/Gemfile deleted file mode 100644 index 56af69e67a..0000000000 --- a/gtk/theme/HighContrast/Gemfile +++ /dev/null @@ -1,2 +0,0 @@ -source 'https://rubygems.org' -gem "sass", "~> 3.4.0" diff --git a/gtk/theme/HighContrast/parse-sass.sh b/gtk/theme/HighContrast/parse-sass.sh index e385f83717..274c1dc712 100755 --- a/gtk/theme/HighContrast/parse-sass.sh +++ b/gtk/theme/HighContrast/parse-sass.sh @@ -1,3 +1,13 @@ -#!/bin/sh +#! /bin/bash -bundle exec sass --update --sourcemap=none . +if [ ! "$(which sassc 2> /dev/null)" ]; then + echo sassc needs to be installed to generate the css. + exit 1 +fi + +SASSC_OPT="-M -t compact" + +echo Generating the css... + +sassc $SASSC_OPT gtk-contained.scss gtk-contained.css +sassc $SASSC_OPT gtk-contained-inverse.scss gtk-contained-inverse.css