Adwaita: add a sassc based parse-sass.sh script

This commit is contained in:
Lapo Calamandrei 2017-05-03 17:31:50 +02:00
parent 0dad501d16
commit 96fc66d327

13
gtk/theme/Adwaita/parse-sass.sh Executable file
View File

@ -0,0 +1,13 @@
#! /bin/bash
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-dark.scss gtk-contained-dark.css