Bixal / bixaluswds

A Drupal base theme integrating USWDS
0 stars 5 forks source link

Add more default templates and update them to use BEM class naming conventions #18

Closed rayestrada closed 1 month ago

rayestrada commented 4 months ago

I realized that our base theme was missing several core templates. I've added all the ones that I think are required and will be used. Some of them are more geared towards admin themes. Since we are adopting BEM class naming as our standards I've updated the classes in the templates to reflect this. I've also made a configurable class prefix in global.inc. This way we can use a global prefix for class naming conventions per site.

rayestrada commented 4 months ago

I've submitted a PR for review. Because we are renaming base template classes this is a breaking change, but this will reduce the need to create custom templates to change class names. The idea is do as much work as we can in the base theme so there is less work in the child theme.