From 7f722314e4fc21419552ec27eb91e6f7e6347b71 Mon Sep 17 00:00:00 2001 From: marudor Date: Wed, 3 Jan 2018 01:19:31 +0100 Subject: frontend stuff with babel and webpack --- themes/base.less | 4 ++-- themes/build-themes.sh | 15 --------------- themes/theme1.less | 2 +- themes/theme2.less | 2 +- themes/theme3.less | 2 +- themes/theme4.less | 2 +- themes/theme5.less | 2 +- themes/theme6.less | 2 +- 8 files changed, 8 insertions(+), 23 deletions(-) delete mode 100755 themes/build-themes.sh (limited to 'themes') diff --git a/themes/base.less b/themes/base.less index e45b7f85..279db5fd 100644 --- a/themes/base.less +++ b/themes/base.less @@ -1,6 +1,6 @@ -@import "../vendor/twbs/bootstrap/less/bootstrap"; +@import "../node_modules/bootstrap/less/bootstrap"; -@icon-font-path: "../../../../vendor/bootstrap/fonts/"; +@icon-font-path: "../fonts/"; body { padding-top: 50px; diff --git a/themes/build-themes.sh b/themes/build-themes.sh deleted file mode 100755 index 8657b691..00000000 --- a/themes/build-themes.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -FILE_PATH="$(dirname "$0")" - -for file in $(ls "${FILE_PATH}/"*.less); do - filename="${file##*/}" - themeName="${filename%.less}" - - if [[ "$filename" == "base.less" ]]; then - continue; - fi - - echo "Building ${themeName}" - lessc "${file}" > "${FILE_PATH}/../public/css/${themeName}.css" -done diff --git a/themes/theme1.less b/themes/theme1.less index 7a893951..5754371a 100644 --- a/themes/theme1.less +++ b/themes/theme1.less @@ -1,4 +1,4 @@ -@import "../vendor/twbs/bootstrap/less/variables"; +@import "../node_modules/bootstrap/less/variables"; /* The MIT License (MIT) diff --git a/themes/theme2.less b/themes/theme2.less index c4486444..259e0619 100644 --- a/themes/theme2.less +++ b/themes/theme2.less @@ -1,4 +1,4 @@ -@import "../vendor/twbs/bootstrap/less/variables"; +@import "../node_modules/bootstrap/less/variables"; @brand-primary: #758499; @brand-success: #7b9c41; diff --git a/themes/theme3.less b/themes/theme3.less index e6be3637..6aab3dde 100644 --- a/themes/theme3.less +++ b/themes/theme3.less @@ -1,4 +1,4 @@ -@import "../vendor/twbs/bootstrap/less/variables"; +@import "../node_modules/bootstrap/less/variables"; @brand-primary: #f19224; @brand-success: #39AB50; diff --git a/themes/theme4.less b/themes/theme4.less index 4234de9c..0e0ab730 100644 --- a/themes/theme4.less +++ b/themes/theme4.less @@ -1,4 +1,4 @@ -@import "../vendor/twbs/bootstrap/less/variables"; +@import "../node_modules/bootstrap/less/variables"; /* The MIT License (MIT) diff --git a/themes/theme5.less b/themes/theme5.less index 6aae75b7..c9101b7f 100644 --- a/themes/theme5.less +++ b/themes/theme5.less @@ -1,4 +1,4 @@ -@import "../vendor/twbs/bootstrap/less/variables"; +@import "../node_modules/bootstrap/less/variables"; @brand-primary: rgb(164, 28, 49); @brand-success: rgb(153, 204, 0); diff --git a/themes/theme6.less b/themes/theme6.less index b4890601..1b0cd9b9 100644 --- a/themes/theme6.less +++ b/themes/theme6.less @@ -1,4 +1,4 @@ -@import "../vendor/twbs/bootstrap/less/variables"; +@import "../node_modules/bootstrap/less/variables"; /* The MIT License (MIT) -- cgit v1.2.3-54-g00ecf