piccalil-li / cube-css-issue-tracker

This is the issue and discussion tracker for CUBE CSS.
https://piccalil.li/cube-css
36 stars 0 forks source link

Why grouping doesn't say anything about Composition? #5

Closed glrodasz closed 1 year ago

glrodasz commented 3 years ago

Hey, thanks for this methodology I find it very useful since I have been using a similar approach based on Design Tokens and Atomic Design.

Regarding the grouping docs says the following:

  1. The element's primary block class
  2. Any subsequent block classes
  3. Standard utility classes
  4. Design token utility classes

But where should be the Composition classes located? Is not specific in the grouping order. What I have seen in the examples is the act as a subsequent block class, it's that correct?