Details
-
Story
-
Resolution: Done
-
High
-
None
-
Sprint 3
-
2
Description
Our HTML and CSS code should follow the BEM naming convention.
Currently, there's a mix of naming conventions: the old, coming from PlatformUI v1 and the new one introduced in React modules.
We should stop using less flexible naming convention from old PlatformUI in favor of the BEM naming convention. So classes like:
.ez-js-remove-author will be converted to .c-btn--remove-author
Where "c" stands for "component", "btn" is a block type and "--remove-author" is a modifier.
This story will affect the way the field class names are generated in the repository-forms bundle.