diff gtk-4.4/parse-sass.sh @ 98:9da64f7bb19c

Add support for GTK4 Includes `gtk-minimal.css`, which can be used to override Adwaita colours by running `ln -s ~/.themes/Adwaita-Dark-Green/gtk-4.4/gtk-minimal.css ~/.config/gtk-4.0/gtk.css`
author IBBoard <dev@ibboard.co.uk>
date Sat, 26 Mar 2022 20:03:44 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gtk-4.4/parse-sass.sh	Sat Mar 26 20:03:44 2022 +0000
@@ -0,0 +1,16 @@
+#! /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
+sassc $SASSC_OPT gtk.scss gtk.css
+sassc $SASSC_OPT gtk-dark.scss gtk-dark.css
+sassc $SASSC_OPT gtk-minimal.scss gtk-minimal.css
\ No newline at end of file