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
Copy file name to clipboardExpand all lines: README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -684,15 +684,15 @@ img {
684
684
685
685
### Component-Extension pointers
686
686
687
-
When working across multiple partials and in an OOCSS manner, you will often find that rule sets from components that can work in conjunction with each other are not always in the same file. In this scenario we need to include a comment to highlight this so that other developers are aware of the relationship between the files.
687
+
When working across multiple partials and in an OOCSS manner sometimes we need to make adjustments to a component that exists within another component. This should be avoided in favour of using a BEM modifier on the component itself so that you don't end up with many dependencies across your components however sometimes this isn't the most appriopiate way of handling things. So in this scenario we need to include a comment to highlight this so that other developers are aware of the relationship between the files.
688
688
689
689
This is the format to use:
690
690
691
691
```
692
692
/**
693
693
* Component-Extension pointer.
694
694
*
695
-
* These rules extend `.btn` in Components Buttons.
695
+
* These rules extend `.c-button` in Components Buttons.
0 commit comments