Closed kovchiy closed 7 years ago
If I want to use css-globals or parent block styles I have to write this:
/* NavBar-Item.css */ @import '../Globals/Globals.css'; @import '../NavBar.css'; .NavBar-Item { background: $color-brand; width: $navbar-width; }
But I think this would be better:
/* NavBar-Item.css */ @import 'b:Globals'; @import 'b:NavBar'; .NavBar-Item { background: $color-brand; width: $navbar-width; }
Issue moved to https://github.com/bem/bem-react-core/issues/95
If I want to use css-globals or parent block styles I have to write this:
But I think this would be better: