Separate colors, sizes and etc from themes with vars
Create new block variables and add it with deps to page block
@verybigman JFYI, https://github.com/bem/bem-components/pull/337
Ok. What now? @tadatuta what you think about this?
right now we can't do this because of possibility to add bundles to runtime and necessity to build such bundles (see more discussion in #337)
Ok, maybe precompile bundles in the future?:)
@verybigman the issue here is that we need possibility to
- build bundle
B1with blocksvariables,b2andb3which will be served as user requested a page. - and for bundle
B2with blocksb4(depends onvariablesandb3) andb5(depends onb3) to be requested in runtime we need to build (B2 - B1) but keeping in mind thatvariablesblock still should be left in place. so we can't operate with simple subtraction of declarations and need some intelligent thing.
any suggestions are welcome ;)
Ok, i think about this;)
Looks like it's time to get back to this issue.
see https://github.com/bem/bem-forum-content-ru/issues/737