summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sass/dark.scss2
-rw-r--r--sass/light.scss2
-rwxr-xr-xscripts/asset-rebuild5
3 files changed, 9 insertions, 0 deletions
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