0.0.2 • Published 4 years ago
@skilld/components-primary v0.0.2
kaizen
_/ _/
_/ _/ _/_/_/ _/_/_/_/ _/_/ _/_/_/
_/_/ _/ _/ _/ _/ _/_/_/_/ _/ _/
_/ _/ _/ _/ _/ _/ _/ _/ _/
_/ _/ _/_/_/ _/ _/_/_/_/ _/_/_/ _/ _/
What is this?
- This is a developer theme for Drupal 8+
- It includes everything necessary to start theming : modern tools, 2 starterkits theme
Requirements
- Docker-ce
Or
- Node.js
- Yarn
Features
- PostCss
- Webpack
- Babel
- Browsersync
- eslint
- custom Modernizr
- Autoprefixer
- Drupal Color Module support
- Drupal breakpoints.yml config parser in css/js
- Svg sprite generation
Usage
- Clone into the directory of your local Drupal site
- If used with skilld-docker-container, install project using not
make all
butmake_ci
to skipmake front
step. cd web/themes/custom
- Execute initialisation, either :
- with Docker :
docker run -it --rm -v "$PWD":/usr/src/app -w /usr/src/app node:lts npx skilld-labs/kaizen
- with Node & Yarn :
npx skilld-labs/kaizen
- with Docker :
- Go through installation steps :
- Basic - Empty theme to use for custom theming
- Primary - Prethemed version to use in case of prototyping
- CD to new directory (theme name from previous step) then:
make install
make build
- Go to drupal admin area. Enable new theme. Clear cache.
Testing additional info
- If new branch should be tested and it is not merged yet, on step #3 change
npx skilld-labs/kaizen
tonpx skilld-labs/kaizen#BRANCH_NAME
whereBRANCH_NAME
is branch of feature you want to test from https://github.com/skilld-labs/kaizen/branches
License
This project is licensed under the MIT open source license.