backdrop / backdrop-issues

Issue tracker for Backdrop core.
144 stars 40 forks source link

CSS Architecture with SASS, SMACSS, and BEM #4129

Open domaingood opened 5 years ago

domaingood commented 5 years ago

Description of the need CSS Architecture with SASS, SMACSS, and BEM

Goals # The goals of good CSS should not be so different from those of good software engineering. Well-architected CSS, like PHP or JavaScript, should be:

Additional information https://www.drupal.org/node/1887918

stpaultim commented 5 years ago

One way to address this is with good contrib themes for Backdrop CMS.

I need help understanding the implications of this for Backdrop Core. Can you provide some specific examples of the kind of work that you are recommending?

I looked for SASS in other core issues and only found a brief discussion of requiring SASS for core in this discussion - https://github.com/backdrop/backdrop-issues/issues/1775. At the time, there was clear opposition to requiring SASS for core development. But, I think there is plenty of room for it in contrib themes. I hope to help with that at some point.

klonos commented 5 years ago

I have seen BEM being mentioned a few times in different issues before, and I remember taking a look at the specification at some point, but it is above my skills/interest at the moment.

Perhaps others like @jenlampton and @wesruv can chime in.