jquery-archive / css-chassis

An attempt at creating an open standard for both CSS and JavaScript UI libraries.
https://css-chassis.com
Other
351 stars 67 forks source link

Create BEM Style Guide #77

Open sfrisk opened 9 years ago

sfrisk commented 9 years ago

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 commented 9 years ago

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 commented 8 years ago

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

geekman-rohit commented 8 years ago

@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.