Skip to content

Commit d3b6228

Browse files
author
Chris Pearce
committed
Update README.md
1 parent f38eca0 commit d3b6228

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -684,15 +684,15 @@ img {
684684

685685
### Component-Extension pointers
686686

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

689689
This is the format to use:
690690

691691
```
692692
/**
693693
* Component-Extension pointer.
694694
*
695-
* These rules extend `.btn` in Components Buttons.
695+
* These rules extend `.c-button` in Components Buttons.
696696
*/
697697
```
698698

0 commit comments

Comments
 (0)