Adicionado o custom variavels ao bootstrap

This commit is contained in:
Fabiano Alencar 2018-01-29 13:45:24 -02:00
parent c91feaf151
commit 96bb9151b5
2 changed files with 20 additions and 5 deletions

View File

@ -10,14 +10,15 @@ command -v sass >/dev/null 2>&1 || {
echo "Compiling Sass..."
#Bootstrap
cd src/assets/vendor/bootstrap/scss
sass bootstrap.scss:bootstrap.min.css --style compressed
#cd src/assets/vendor/bootstrap/scss
#sass bootstrap.scss:bootstrap.min.css --style compressed
#Style do Tema
cd ../../../../assets/scss
#cd ../../../../assets/scss
cd src/assets/scss
sass -E 'UTF-8' style.scss:../../style.css
cd ../..
rm -rf style.css.map
sass bootstrap_custom.scss:../vendor/bootstrap/scss/bootstrap.min.css
rm -rf ../../style.css.map
echo "Sass compilation Completed!"
exit 0

14
src/assets/scss/bootstrap_custom.scss vendored Normal file
View File

@ -0,0 +1,14 @@
$heavy-metal: #1d1d1b;
$jelly-bean: #298596;
$scooter: #2cb4c1;
$jungle-green: #25a189;
$theme-colors: (
"heavy-metal": $heavy-metal,
"jelly-bean": $jelly-bean,
"scooter": $scooter,
"jungle-green": $jungle-green
);
@import "../vendor/bootstrap/scss/bootstrap";