From 96bb9151b5496b536f929e0f430f124e86e1ebab Mon Sep 17 00:00:00 2001 From: Fabiano Alencar Date: Mon, 29 Jan 2018 13:45:24 -0200 Subject: [PATCH] Adicionado o custom variavels ao bootstrap --- compile-sass.sh | 11 ++++++----- src/assets/scss/bootstrap_custom.scss | 14 ++++++++++++++ 2 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 src/assets/scss/bootstrap_custom.scss diff --git a/compile-sass.sh b/compile-sass.sh index 13b5fcf..a01158a 100755 --- a/compile-sass.sh +++ b/compile-sass.sh @@ -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 diff --git a/src/assets/scss/bootstrap_custom.scss b/src/assets/scss/bootstrap_custom.scss new file mode 100644 index 0000000..059ba33 --- /dev/null +++ b/src/assets/scss/bootstrap_custom.scss @@ -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"; \ No newline at end of file