Skip to content

Releases: ffwagency/ffw_theme

v3.0.0

03 May 21:23
Compare
Choose a tag to compare

Starter Drupal theme with components structure using NPM as build tool.

Two types of components - Drupal and static.
Drupal components are in the templates folder. Static components are in a separate components folder.

All files related to a certain component are in the same folder. Each component has its own library entry in ffw_theme.libraries.yml. The library is attached to the component either in the twig file with {{ attach_library('ffw_theme/NAME') }} or in the ffw_theme.theme file in a preprocess function with $variables['#attached']['library'][] = 'ffw_theme/NAME';.

Theme uses latest SASS version with its modules system allowing better optimization of CSS files per component.

Includes scripts for:

  • converting SCSS to CSS, ES6 to JS
  • linting and watching files
  • generating SVG icon sprite
  • clean generated files

v3.0.0-beta

17 Mar 10:25
Compare
Choose a tag to compare
v3.0.0-beta Pre-release
Pre-release

Component-based Drupal 8 theme using NPM as build tool.
Includes scripts for:

  • converting SCSS to CSS, ES6 to JS
  • linting and watching files
  • generating icon sprite
  • building a KSS styleguide
  • clean generated files

Has a separate components folder and ffw_theme_components namespace (requires https://www.drupal.org/project/components) to be included by the default components in the templates folder. Could be used with Patternlab.

Final release will be made when the following issues are resolved: