Skip to content
This repository has been archived by the owner on Dec 11, 2021. It is now read-only.

Create BEM Style Guide #77

Open
sfrisk opened this issue Apr 21, 2015 · 3 comments
Open

Create BEM Style Guide #77

sfrisk opened this issue Apr 21, 2015 · 3 comments

Comments

@sfrisk
Copy link
Contributor

sfrisk commented Apr 21, 2015

As we've decided to go with a BEM naming convention, to help people easily contribute to the Chassis project, we need a BEM Style Guide to help understanding the naming convention as we're using it.

@sfrisk
Copy link
Contributor Author

sfrisk commented Jul 21, 2015

Going along with the BEM Style Guide, here are some examples of the "flavor" of BEM we decided on:

.ui_base__some-element--modifier--another-modifier
.ui-button__icon--rainbow-mode

@kristyjy
Copy link
Contributor

kristyjy commented Mar 8, 2016

Since we aren't using BEM anymore should we just include our css naming conventions with the SCSS style guide?

@geekman-rohit
Copy link
Contributor

@kristyjy , yes, and some guidance to use of classes, and other practices we use... no cascading, no specificity, how we name variables, use of jsass etc.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants