Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-28029

As a frontend developer I would like to use BEM naming convention for styling our components

    XMLWordPrintable

    Details

    • Sprint:
      Sprint 3
    • Story Points:
      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.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            piotr.nalepa-obsolete@ez.no Piotr Nalepa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: