Merge pull request #308 from MyIgel/themes
Themes: Moved bootstrap and improved generate scriptmain
commit
868780239f
@ -1 +1 @@
|
|||||||
../../vendor/bootstrap/dist
|
../../themes/assets/bootstrap/dist
|
@ -1,7 +1,15 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
lessc theme0.less > ../public/css/theme0.css
|
FILE_PATH="$(dirname "$0")"
|
||||||
lessc theme1.less > ../public/css/theme1.css
|
|
||||||
lessc theme2.less > ../public/css/theme2.css
|
for file in $(ls "${FILE_PATH}/"*.less); do
|
||||||
lessc theme3.less > ../public/css/theme3.css
|
filename="${file##*/}"
|
||||||
lessc theme4.less > ../public/css/theme4.css
|
themeName="${filename%.less}"
|
||||||
|
|
||||||
|
if [[ "$filename" == "base.less" ]]; then
|
||||||
|
continue;
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Building ${themeName}"
|
||||||
|
lessc "${file}" > "${FILE_PATH}/../public/css/${themeName}.css"
|
||||||
|
done
|
||||||
|
Loading…
Reference in New Issue