Install

Works with Drupal: ^8 || ^9

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 630.14 KB
MD5: 871d4cec8a4ce2329e04bebcb1cc3dab
SHA-1: 771827071d05dbfa00025980783e8855263752b0
SHA-256: bb84205130e8f74f7f55bc24028c4a6c5984cdffb9312d398f159a8238222536
Download zip 699.27 KB
MD5: 347de194b35d8724423f8087c216094f
SHA-1: 9a7f023056cffe61f867854adb106d8978ff551a
SHA-256: a8fea588092aa402bfaeeaa3f5f7df105bdbf84fdb21251ddc2b5b2cf73e979c

Release notes

This is a new alpha release of the 8.x-6.x development branch. This is still an alpha release, meaning the theme continues to make major/breaking changes. However, if you are already using the 8.x-6.0-alpha5 release, there are lots of changes here that you may find helpful.

To check on further discussion about development and a beta release refer to #2655142: 8.x-6.x Roadmap. Thank you to everyone who contributed changes and continues to use this theme and provide feedback!

Changes since 8.x-6.0-alpha5 release:

Upgrade notes since alpha5 release:

Some of these changes require manual steps to bring existing sub-themes up to date. Since there have been changes to the package.json, it is important to make sure existing sub-themes bring in these changes, reinstall node modules, and then re-run gulp build. While the updated version of Foundation is backwards compatible, this does not mean there won't be visual changes to your custom theme after this upgrade. It is strongly recommended that you thoroughly test this update before pushing to production.

This build does not include all the necessary code changes for Drupal 9, but it should at least install cleanly. Remaining changes needed captured here: #3149507: Automated Drupal 9 compatibility fixes.

Updating dependencies:

  • Update the ZURB Foundation contrib theme.
  • Update your subtheme's package.json to require these versions:
    "foundation-sites": "~6.5.3",
        "motion-ui": "~2.0.3",
        "what-input": "^4.3.1",
  • Delete the node modules directory from your subtheme.
  • run "npm install"
  • run "gulp" to re-build your css files with the new dependencies.

Removing layouts:

If you have been using the drupal layouts provided in this theme, this update will break your subtheme. We recommend using the Foundation Layouts contrib module, or the xy_grid_layous module to add in this functionality.

SCSS linting:

With #3103634: Need a default .sass-lint.yml , there is an updated sass-lint file that can be used to ensure that sub-theme .scss conforms to BEM formatting, specifically Drupal's CSS code style guidelines. All new sub-themes will have this by default. If you'd like to bring it into your existing sub-theme:

  • Delete the scss-lint.yml file from your sub-theme.
  • Copy the sass-lint.yml file from the STARTER directory in the zurb_foundation contrib theme, and paste it into the root of your sub-theme (where the scss-lint.yml used to be).
  • This will run when you next compile your css with gulp.

Styling updates to port to existing sub-themes:

  • With #3110836: Visual indicator for required form fields is gone, required forms now will have accessible styling. New sub-themes will have this by default. To port it to an existing sub theme, copy the STARTER/images/foundation/misc/required.svg and STARTER/scss/base/_drupal.scss files to your sub-theme.
  • The .help-text class has been added to the description text in forms. Note that this will not take effect if you have already overwritten Drupal's form-element.twig.html file in your sub-theme.
  • With #3096839: Remove deprecated theme functions, the theme hook zurb_foundation_menu_local_tasks() that added markup to the menu_local_tasks elements has been removed in favor of a new twig template. If you are overwriting this markup in a subtheme, you may need to create your own twig template for this element or otherwise refactor.
  • Copying over the updated STARTER/scss/base/_drupal.scss file to your sub-theme will pull over additional theming changes and fixes, like those from #2966672: View mode select box show full width and also overlap with site logo on preview page
  • Some changes have been made to the pagination templates, including the addition of a new mini-pager template. If your existing sub-theme has overrides to those templates or styling, these changes may impact the styling. If you want to turn the arrows "on" in the theme _settings.scss, you will need to remove the arrows from the views pagination settings.
Created by: sim_1
Created on: 10 Jun 2020 at 19:01 UTC
Last updated: 10 Jun 2020 at 21:27 UTC
Bug fixes
New features
Unsupported

Other releases