gtk2/gtk/theme/Adwaita/parse-sass.sh
2017-05-17 18:05:13 +02:00

14 lines
303 B
Bash
Executable File

#! /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