My second question is a “reset layout” a good thing? It is completely in non-BEM philosophy of having uncontrolled side-effects.
I think with BEM or CSS Modules, we should think about “local reset” rather than “global reset”. For example, postcss-autoreset, which put reset properties to every block and element selector.
What do you think about it?
Yeah, you might be right with this one, maybe it would be better to have styles reset automated. Though in this case it's not really global, we use reset locally for certain blocks, not globally with tag selectors. Also, theme-reset is absolutely optional, it's just an example.