2017 © Pedro Peláez
 

drupal-theme emulsify

Project template for Drupal 8 themes

image

fourkitchens/emulsify

Project template for Drupal 8 themes

  • Sunday, July 8, 2018
  • by ModulesUnraveled
  • Repository
  • 24 Watchers
  • 109 Stars
  • 15,526 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 51 Forks
  • 30 Open issues
  • 43 Versions
  • 43 % Grown

The README.md

Four Kitchens, (*1)

Emulsify: Pattern Lab + Drupal 8

Component-driven prototyping tool using Pattern Lab v2 automated via Gulp/NPM. Also serves as a starterkit Drupal 8 theme., (*2)

Requirements

  1. PHP 7.1
  2. Node (we recommend NVM)
  3. Gulp
  4. Composer
  5. Optional: Yarn

Prototyping (separate from Drupal, Wordpress, etc.)

Emulsify supports both NPM and YARN., (*3)

Install with NPM: composer create-project fourkitchens/emulsify:^3.0 --stability dev --no-interaction emulsify && cd emulsify && npm install, (*4)

Install with Yarn: composer create-project fourkitchens/emulsify:^3.0 --stability dev --no-interaction emulsify && cd emulsify && yarn install, (*5)

Drupal installation

  1. Require emulsify in your project composer require fourkitchens/emulsify
  2. Move into the original emulsify theme cd web/themes/contrib/emulsify/
  3. Create your new theme by cloning emulsify php emulsify.php "THEME NAME" (Run php emulsify.php -h for other available options)
  4. Move into your theme directory cd web/themes/custom/THEME_NAME/
  5. Install the theme dependencies npm install or yarn install
  6. Enable your theme and its dependencies drush then THEME_NAME -y && drush en components unified_twig_ext -y
  7. Proceed to the "Starting Pattern Lab…" section below

If you're not using a Composer-based Drupal install (e.g. tarball download from drupal.org) installation instructions can be found on the Wiki., (*6)

Troubleshooting Installation: See Drupal Installation FAQ., (*7)

Note: Once you've created your custom theme, you can remove Emulsify as a dependency of your project. If you'd like to get updates as we push them, solely for educational/best-practice information, feel free to leave it in and receive the updates. Updating Emulsify will not affect your custom theme in any way., (*8)

Starting Pattern Lab and watch task

The start command spins up a local server, compiles everything (runs all required gulp tasks), and watches for changes., (*9)

  1. npm start or yarn start

Highlighted Features

Lightweight Emulsify is focused on being as lightweight as possible.
SVG sprite support Automated support for creating SVG sprites mixins/classes.
Stock Drupal templates Templates from Stable theme - see /templates directory
Stock Components with Drupal support built-in (https://github.com/fourkitchens/emulsify#emulsifys-built-in-components-with-drupal-support)
Performance Testing Support for testing via Google PageSpeed Insights and WebPageTest.org (https://github.com/fourkitchens/emulsify/wiki/Gulp-Config#performance-testing)
Automated Github Deployment Deploy your Pattern Lab instance as a Github page (https://github.com/fourkitchens/emulsify/wiki/Gulp-Config#deployment)

Emulsify's Built in Components with Drupal support

Forms, tables, video, accordion, cards, breadcrumbs, tabs, pager, status messages, grid, (*10)

View a demo of these default Emulsify components., (*11)

Documentation

Documentation is currently provided in the Wiki. Here are a few basic links:, (*12)

General Orientation

See Orientation, (*13)

We have a series of videos for you to learn more about Emulsify., (*14)

For Designers (Prototyping)

See Designers, (*15)

For Drupal 8 Developers

See Drupal Usage, (*16)

Gulp Configuration

See Gulp Config, (*17)

The Versions

08/07 2018

dev-feature/circleci

dev-feature/circleci http://emulsify.info

Project template for Drupal 8 themes

  Sources   Download

MIT

The Requires

 

by Brian Lewis
by Evan Willhite
by Chris Martin
by Randy Oest

07/07 2018

dev-develop

dev-develop http://emulsify.info

Project template for Drupal 8 themes

  Sources   Download

MIT

The Requires

 

by Brian Lewis
by Evan Willhite
by Chris Martin
by Randy Oest

28/06 2018

dev-wrapper-test

dev-wrapper-test http://emulsify.info

Project template for Drupal 8 themes

  Sources   Download

MIT

The Requires

 

by Brian Lewis
by Evan Willhite
by Chris Martin
by Randy Oest

28/06 2018

dev-wrapper-mixin

dev-wrapper-mixin http://emulsify.info

Project template for Drupal 8 themes

  Sources   Download

MIT

The Requires

 

by Brian Lewis
by Evan Willhite
by Chris Martin
by Randy Oest

22/06 2018

dev-master

9999999-dev http://emulsify.info

Project template for Drupal 8 themes

  Sources   Download

MIT

The Requires

 

by Brian Lewis
by Evan Willhite
by Chris Martin
by Randy Oest

22/06 2018

v2.6

2.6.0.0 http://emulsify.info

Project template for Drupal 8 themes

  Sources   Download

MIT

The Requires

 

by Brian Lewis
by Evan Willhite
by Chris Martin
by Randy Oest

22/06 2018

dev-65-attach-library

dev-65-attach-library http://emulsify.info

Project template for Drupal 8 themes

  Sources   Download

MIT

The Requires

 

by Brian Lewis
by Evan Willhite
by Chris Martin
by Randy Oest

19/06 2018

dev-yarn-lock

dev-yarn-lock http://emulsify.info

Project template for Drupal 8 themes

  Sources   Download

MIT

The Requires

 

by Brian Lewis
by Evan Willhite
by Chris Martin
by Randy Oest

19/06 2018

v2.5

2.5.0.0 http://emulsify.info

Project template for Drupal 8 themes

  Sources   Download

MIT

The Requires

 

by Brian Lewis
by Evan Willhite
by Chris Martin
by Randy Oest

19/06 2018

v2.4

2.4.0.0 http://emulsify.info

Project template for Drupal 8 themes

  Sources   Download

MIT

The Requires

 

by Brian Lewis
by Evan Willhite
by Chris Martin
by Randy Oest

30/05 2018

dev-177-view-example

dev-177-view-example http://emulsify.info

Project template for Drupal 8 themes

  Sources   Download

MIT

The Requires

 

by Brian Lewis
by Evan Willhite
by Chris Martin
by Randy Oest

30/05 2018

dev-171-templates-pages

dev-171-templates-pages http://emulsify.info

Project template for Drupal 8 themes

  Sources   Download

MIT

The Requires

 

by Brian Lewis
by Evan Willhite
by Chris Martin
by Randy Oest

30/05 2018

dev-script-cleanup

dev-script-cleanup http://emulsify.info

Project template for Drupal 8 themes

  Sources   Download

MIT

The Requires

 

by Brian Lewis
by Evan Willhite
by Chris Martin
by Randy Oest

30/05 2018

dev-gitignore

dev-gitignore http://emulsify.info

Project template for Drupal 8 themes

  Sources   Download

MIT

The Requires

 

by Brian Lewis
by Evan Willhite
by Chris Martin
by Randy Oest

29/05 2018

dev-trans-tag

dev-trans-tag http://emulsify.info

Project template for Drupal 8 themes

  Sources   Download

MIT

The Requires

 

by Brian Lewis
by Evan Willhite
by Chris Martin
by Randy Oest

28/05 2018

dev-max-width

dev-max-width http://emulsify.info

Project template for Drupal 8 themes

  Sources   Download

MIT

The Requires

 

by Brian Lewis
by Evan Willhite
by Chris Martin
by Randy Oest

08/05 2018

2.3

2.3.0.0 http://emulsify.info

Project template for Drupal 8 themes

  Sources   Download

MIT

The Requires

 

by Brian Lewis
by Evan Willhite
by Chris Martin
by Randy Oest

05/03 2018

dev-pages-fix

dev-pages-fix http://emulsify.info

Project template for Drupal 8 themes

  Sources   Download

MIT

The Requires

 

by Brian Lewis
by Evan Willhite
by Chris Martin
by Randy Oest

27/02 2018

dev-SVG-method-switch

dev-SVG-method-switch http://emulsify.info

Project template for Drupal 8 themes

  Sources   Download

MIT

The Requires

 

by Brian Lewis
by Evan Willhite
by Chris Martin
by Randy Oest

06/02 2018

dev-hotfix-yarn-lock

dev-hotfix-yarn-lock http://emulsify.info

Project template for Drupal 8 themes

  Sources   Download

MIT

The Requires

 

by Brian Lewis
by Evan Willhite
by Chris Martin
by Randy Oest

05/02 2018

dev-components/restart

dev-components/restart http://emulsify.info

Project template for Drupal 8 themes

  Sources   Download

MIT

The Requires

 

by Brian Lewis
by Evan Willhite
by Chris Martin
by Randy Oest

05/02 2018

dev-restart/images

dev-restart/images http://emulsify.info

Project template for Drupal 8 themes

  Sources   Download

MIT

The Requires

 

by Brian Lewis
by Evan Willhite
by Chris Martin
by Randy Oest

29/01 2018

dev-183-remove-iife

dev-183-remove-iife http://emulsify.info

Project template for Drupal 8 themes

  Sources   Download

MIT

The Requires

 

by Brian Lewis
by Evan Willhite
by Chris Martin
by Randy Oest

04/12 2017

dev-header-example

dev-header-example http://emulsify.info

Project template for Drupal 8 themes

  Sources   Download

MIT

The Requires

 

by Brian Lewis
by Evan Willhite
by Chris Martin
by Randy Oest

10/11 2017

dev-docs/add-video-playlist

dev-docs/add-video-playlist http://emulsify.info

Project template for Drupal 8 themes

  Sources   Download

MIT

The Requires

 

by Brian Lewis
by Evan Willhite
by Chris Martin
by Randy Oest

12/10 2017

dev-menu-dry-twig

dev-menu-dry-twig http://emulsify.info

Project template for Drupal 8 themes

  Sources   Download

MIT

The Requires

 

by Brian Lewis
by Evan Willhite
by Chris Martin
by Randy Oest

09/10 2017

v2.2

2.2.0.0 http://emulsify.info

Project template for Drupal 8 themes

  Sources   Download

MIT

The Requires

 

by Brian Lewis
by Evan Willhite
by Chris Martin
by Randy Oest

29/09 2017

dev-feature/visual-testing

dev-feature/visual-testing http://emulsify.info

Project template for Drupal 8 themes

  Sources   Download

MIT

The Requires

 

by Brian Lewis
by Evan Willhite
by Chris Martin
by Randy Oest
by Luke Herrington
by Ben Teegarden

28/09 2017

dev-restart/lists

dev-restart/lists http://emulsify.info

Project template for Drupal 8 themes

  Sources   Download

MIT

The Requires

 

by Brian Lewis
by Evan Willhite
by Chris Martin
by Randy Oest

18/08 2017

v2.0.1

2.0.1.0 http://emulsify.info

Project template for Drupal 8 themes

  Sources   Download

MIT

The Requires

 

by Brian Lewis
by Evan Willhite
by Chris Martin
by Randy Oest

18/08 2017

v2.1

2.1.0.0 http://emulsify.info

Project template for Drupal 8 themes

  Sources   Download

MIT

The Requires

 

by Brian Lewis
by Evan Willhite
by Chris Martin
by Randy Oest

07/08 2017

dev-revert-114-bugfix/bem-class-inheritance-4

dev-revert-114-bugfix/bem-class-inheritance-4

Project template for Drupal 8 themes

  Sources   Download

MIT

by Brian Lewis
by Evan Willhite
by Randy Oest
by Luke Herrington
by Ben Teegarden

07/08 2017

v2.0.0

2.0.0.0 http://emulsify.info

Project template for Drupal 8 themes

  Sources   Download

MIT

by Brian Lewis
by Evan Willhite
by Chris Martin
by Randy Oest
by Luke Herrington

31/07 2017

v1.1.2

1.1.2.0

Project template for Drupal 8 themes

  Sources   Download

MIT

by Brian Lewis
by Evan Willhite
by Randy Oest
by Luke Herrington
by Ben Teegarden

28/07 2017

v1.1.1

1.1.1.0

Project template for Drupal 8 themes

  Sources   Download

MIT

by Brian Lewis
by Evan Willhite
by Randy Oest
by Luke Herrington
by Ben Teegarden

28/07 2017

v1.1.0

1.1.0.0

Project template for Drupal 8 themes

  Sources   Download

MIT

by Brian Lewis
by Evan Willhite
by Randy Oest
by Luke Herrington
by Ben Teegarden

18/04 2017

dev-feature/refactor-lists

dev-feature/refactor-lists

Project template for Drupal 8 themes

  Sources   Download

MIT

by Brian Lewis
by Evan Willhite
by Randy Oest
by Luke Herrington
by Ben Teegarden

14/03 2017

dev-feature/pager

dev-feature/pager

Project template for Drupal 8 themes

  Sources   Download

MIT

by Brian Lewis
by Evan Willhite
by Randy Oest
by Luke Herrington
by Ben Teegarden

12/03 2017

dev-feature/tables

dev-feature/tables

Project template for Drupal 8 themes

  Sources   Download

MIT

by Brian Lewis
by Evan Willhite
by Randy Oest
by Luke Herrington
by Ben Teegarden

06/03 2017

dev-wpt-tests

dev-wpt-tests

Project template for Drupal 8 themes

  Sources   Download

MIT

by Brian Lewis
by Evan Willhite
by Randy Oest
by Luke Herrington
by Ben Teegarden

06/02 2017

dev-site

dev-site

Project template for Drupal 8 themes

  Sources   Download

MIT

by Brian Lewis
by Evan Willhite
by Randy Oest
by Luke Herrington
by Ben Teegarden

03/01 2017

v1.0.0

1.0.0.0

Project template for Drupal 8 themes

  Sources   Download

MIT

by Brian Lewis
by Evan Willhite
by Randy Oest
by Luke Herrington
by Ben Teegarden

11/11 2016

dev-8.x-1.x

dev-8.x-1.x

Project template for Drupal 8 themes

  Sources   Download

MIT

by Brian Lewis
by Evan Willhite
by Randy Oest
by Luke Herrington
by Ben Teegarden