Skip to content

2.0.0-alpha5

Pre-release
Pre-release

Choose a tag to compare

@Niklan Niklan released this 19 May 16:20
· 9 commits to 2.0.x since this release
bee21a9

Base theme

  • Rename variables title_classes to classes in page-title.html.twig.
  • Fixed menu.html.twig which didn't reset attributes for submenu which leads to duplicated classes and wrong BEM structure.
  • All base theme templates is now checks for block variables definition. This allows to override its value in extended templates without need to rewrite whole template just for it.
  • Added predefined field templates with different markups and classes (mostly). Check README for more info. This changes nothing until you use that feature.

Starter theme

  • Remove JavaScript build scripts. *.es6.js files renamed to *.js. All modern browsers are supporting ES6 syntax now. Drupal core does the same thing, so this is absolutely safe now.
  • Remove PostCSS build scrips. *.pcss files renamed to *.css. There is absolutely no need into PostCSS build script in the theme at this point. The only thing is actually used from PostCSS was postcss-custom-media. This plugin by default is used in 4 CSS file.
  • There is no more NodeJS dependencies on theme. The whole process with build step is more complicated than benefits provided by it. This will allow to use theme without any NodeJS at all, fully native everything. Just copy-paste and you are ready, no extra steps!
  • --form-control-padding and --form-control-border moved into :root section, otherwise these two variables can't be easily overridden.