New D8 modules Styles API and Block Styles
Posted by hatuhay on December 8, 2015 at 4:06pm
Styles API Module allows other modules or themes to register theme templates on a YAML file (replacing hook_theme()) and provide a repository for all themes registered.
This will give more order to theme definitions, taking them away form code.
But moreover in this way themes and modules could gather information of registered themes implementation.
For example a module could add select field to forms, providing a UI to easily assign predefined templates for elements, blocks or regions.
Read more