bem-components icon indicating copy to clipboard operation
bem-components copied to clipboard

Separate colors, sizes and etc from themes with vars

Open awinogradov opened this issue 11 years ago • 8 comments

Create new block variables and add it with deps to page block

awinogradov avatar Aug 30 '14 11:08 awinogradov

@verybigman JFYI, https://github.com/bem/bem-components/pull/337

tadatuta avatar Aug 30 '14 12:08 tadatuta

Ok. What now? @tadatuta what you think about this?

awinogradov avatar Aug 30 '14 13:08 awinogradov

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)

veged avatar Feb 17 '15 15:02 veged

Ok, maybe precompile bundles in the future?:)

awinogradov avatar Feb 17 '15 15:02 awinogradov

@verybigman the issue here is that we need possibility to

  1. build bundle B1 with blocks variables, b2 and b3 which will be served as user requested a page.
  2. and for bundle B2 with blocks b4 (depends on variables and b3) and b5 (depends on b3) to be requested in runtime we need to build (B2 - B1) but keeping in mind that variables block 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 ;)

tadatuta avatar Feb 18 '15 01:02 tadatuta

Ok, i think about this;)

awinogradov avatar Feb 18 '15 05:02 awinogradov

Looks like it's time to get back to this issue.

tadatuta avatar Dec 10 '15 10:12 tadatuta

see https://github.com/bem/bem-forum-content-ru/issues/737

tadatuta avatar Dec 10 '15 10:12 tadatuta