Skip to content

avitslv/themeinsane

Repository files navigation

Theme Insane D8

Clean and very simple Drupal 8 starter theme

Clone and rename 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/' {} \;

Install npm packages

Installs npm packages locally

npm install

Install gulp-cli globally

sudo npm install -g gulp-cli

Install bower package manager globally

sudo npm install -g bower

Install bower packages

Use bower to install front-end packages, e.g. JS libraries like swiper. Packages are downloaded in assets/vendor

bower install

Compiling styles

To watch for file changes, launch livereload and compile styles run

gulp

To compile styles once run

gulp sass

About

Drupal 8 starter theme

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published