2.0.0-alpha5
Pre-release
Pre-release
Base theme
- Rename variables
title_classestoclassesinpage-title.html.twig. - Fixed
menu.html.twigwhich didn't resetattributesfor submenu which leads to duplicated classes and wrong BEM structure. - All base theme templates is now checks for
blockvariables 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.jsfiles 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.
*.pcssfiles 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-paddingand--form-control-bordermoved into:rootsection, otherwise these two variables can't be easily overridden.