Clean and very simple Drupal 8 starter theme
git clone git@github.com:avitslv/themeinsane.git;
mv themeinsane mytheme;
cd mytheme;
Remove git directory
sudo rm -R .git;
Replace theme name themeinsane
with yours throughout theme filenames and files. mytheme
is your desired theme name.
find . -depth -name '*themeinsane*' -execdir bash -c 'mv -i "$1" "${1//themeinsane/mytheme}"' bash {} \;
LC_CTYPE=C && find ./ -type f -exec sed -i '' -e 's/themeinsane/mytheme/' {} \;
Installs npm packages locally
npm install
sudo npm install -g gulp-cli
sudo npm install -g bower
Use bower to install front-end packages, e.g. JS libraries like swiper
. Packages are downloaded in assets/vendor
bower install
To watch for file changes, launch livereload and compile styles run
gulp
To compile styles once run
gulp sass