Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Install
Works with Drupal: 8.xUsing Composer to manage Drupal site dependencies
Alternative installation files
Download emulsify-8.x-2.1.tar.gztar.gz
1.12 MB
MD5: 1fe5cd2a415046c0ea59c99ed1b75191
SHA-1: e137e49210a7af7070c35c195ab0e47079e573e9
SHA-256: dcd5398c51f1332eece6040a471b92bacc54f9d686ee1dbd7dc191274eab3569
Download emulsify-8.x-2.1.zipzip
1.22 MB
MD5: 206f4135f89d11d4c80ec01fad2da9a9
SHA-1: 9456c8beaff5f9956af83350802235681b708004
SHA-256: 999287e5038315f7d3bfa5bb25fcb534f363e31d1653f6e72be1eea1d90bb204
Release notes
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