You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 11, 2021. It is now read-only.
Earlier in meeting today a concern was raised while discussing #97 : How do we order modifiers for classes.
While we have decided to name classes in pattern : block_element--modifier, for most components there could be multiple modifiers concurrently block_element--modifier1--modifier2. The issue is how do we order these modifiers such that the order is easily implemented/ remembered. Since we are a css framework for js libraries, the classes should be possible( preferably with ease) via js code.
A concern was also raised if BEM is really good for our project (see #4 )? It takes more effort to code and will make things complicated for js frameworks a bit too.
Options:
Deciding an order (eg. --sizerelated--state--focus etc.)
Arranging modifiers in a class alphabetically. (suggested by @arschmitz )