radancyco / radancyco.github.io

Standards, guidelines, and best practices used by Radancy developers and designers
https://radancy.dev
10 stars 2 forks source link

CSS naming convention and BEM conflicts #31

Open jkmahoney opened 6 years ago

jkmahoney commented 6 years ago

We should update this line in the UI Standards doc:

4.1.4.2 Naming: "Selectors should not include underscores or any uncommon Unicode characters."

To include an exception if BEM is being used on the site or page.

Something similar to:

"Selectors should not include underscores or any uncommon Unicode characters with the exception of BEM selectors"

We could reference this page with BEM naming conventions: http://getbem.com/naming/

michaelspellacy commented 6 years ago

Fine with that if everybody else is.

michaelspellacy commented 6 years ago

I'll add this in once we add the BEM section.