Earlier quoted context omitted.
shouldn't that be foo.bar?
No, the idea is that .foo.foo increases the specificity of .foo over .bar
:root { --main-color: brown; } .foo.bar { --main-color: red; } .foo.foo { --main-color: blue; } .bar { --main-color: red; color: var(--main-color); }
anyone actually use this foo.foo method of increasing specificity? Because I think difficult to debug.