From 04f4c02b5e8876f4c699d2109cda69a0d45ea009 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 13 Dec 2020 21:18:48 +0100 Subject: asset-rebuild: add CSS files and autocomplete.js --- sass/dark.scss | 2 ++ sass/light.scss | 2 ++ scripts/asset-rebuild | 5 +++++ 3 files changed, 9 insertions(+) diff --git a/sass/dark.scss b/sass/dark.scss index e30bacf..65ccf13 100644 --- a/sass/dark.scss +++ b/sass/dark.scss @@ -42,3 +42,5 @@ $powercar-wagon-color: #222222; $button-hover: #111111; $button-hover-border: #333333; + +@import 'app.scss'; diff --git a/sass/light.scss b/sass/light.scss index 5dca9ad..6189749 100644 --- a/sass/light.scss +++ b/sass/light.scss @@ -42,3 +42,5 @@ $powercar-wagon-color: #cccccc; $button-hover: #e6e6e6; $button-hover-border: #adadad; + +@import 'app.scss'; diff --git a/scripts/asset-rebuild b/scripts/asset-rebuild index 51b97a6..4d36a6d 100755 --- a/scripts/asset-rebuild +++ b/scripts/asset-rebuild @@ -5,6 +5,11 @@ set -ex +sassc -t compressed sass/dark.scss public/static/css/dark.min.css +sassc -t compressed sass/light.scss public/static/css/light.min.css + +scripts/update-autocomplete + uglifyjs public/static/js/autocomplete.js public/static/js/collapse.js -c -m > public/static/js/dbf.min.js uglifyjs public/static/js/geolocation.js -c -m > public/static/js/geolocation.min.js uglifyjs public/static/js/map-refresh.js -c -m > public/static/js/map-refresh.min.js -- cgit v1.2.3