This repository has been archived by the owner on Mar 31, 2023. It is now read-only.
2.x Official Release
Major release including:
- Composer Installation Support
- Drush script to clone custom theme (including slim version)
- Now using BEM Twig extension to support better handling of classes in Pattern Lab and Drupal (using the Attributes object in Drupal)
- Also includes Add Attributes Twig Extension to handle more attributes than just classes across both Pattern Lab and Drupal
- Better BEM support - Moved many of the shared classes (e.g.,
.grid
) to mixins (e.g.,@include grid($columns)
), encouraging single class names with no parent selectors across the board. More consistent BEM ftw! - Simpler headings implementation - there is now a single header Twig file that handles all header tags (
<h1>-<h6>
) and mixins to match for easier styling. - Removed Sassdoc - extra build overhead and underused, we decided to get rid of this tool
- Added Stylelint - We added Sass/CSS linting to the project. Uses Stylelint Config Standard by default, but you can set your own in the provided .stylelintrc file
- ES6 syntax and support - Emulsify Gulp is now using ES6 syntax
- ESLint - linting added to Emulsify Gulp
- Find a Port - Emulsify now searches for an open port instead of always using 3000 (using an already existing dependency so without more overhead). Have more than one Emulsify instance running!
- Example Template & Page - We often get the question what should go in these directories? So, we have added a couple of examples here using existing Emulsify components to show how easy it is to prototype using Pattern Lab!
- Moved to Drupal Pattern Lab initiative’s forked dependency - Active development, single canonical source for new Pattern Lab Twig updates
- Re-released on Drupal.org - Moving to a weekly release schedule to maintain both
- General clean up - simpler classnames and better comments across some components
- Bug fixes