Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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
Member

@sfrisk 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
Member Author

@sfrisk 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 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
Member

@geekman-rohit geekman-rohit commented Mar 8, 2016

@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 join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.