R
R
Rabinzon2016-03-11 14:26:37
BEM
Rabinzon, 2016-03-11 14:26:37

How to correctly collect styles from enb?

bem-stub generator. I didn't change the config.
I override styles at the common/blocks level.
I get a screen
Why are my styles on top?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex, 2016-03-13
@isqua

From your CSS it looks like you want to override the styles for button_theme_islands. In this case, they should not be written in common.blocks/button/button.css but in common.blocks/button/_theme/button_theme_islands.css . That is, along the same path as in the library, only at your redefinition level. Because the files for the modifier are always included after the main files of the block (even at different redefinition levels), unless otherwise specified in the dependencies.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question