In favor of BEM for classes naming, and styling, in the theme project.
It will:
- give semantic to the HTML elements and components http://getbem.com/introduction/
- allow users of the theme (installed through npm), to customize the styles of their instance, by just editing/overwrite of the CSS classes
On the contrary, using a utility framework for styling the theme, will:
- the CSS utility classes used in the themes on HTML elements and gatsby/react components won't be able to be changed in the site instance
- cannot style a theme component with just css, need to re-write the component's markup to edit the utility classes
In favor of BEM for classes naming, and styling, in the theme project.
It will:
On the contrary, using a utility framework for styling the theme, will: