Support left colon bem syntax
Closed this issue · 1 comments
mgreter commented
The following
.testing
:margin
:bottom 32px
:foo
:bar 1px
:baz 2px
:baz 3px
:end 4px
Should result in
.testing {
margin-bottom: 32px;
margin-foo-bar: 1px;
margin-foo-baz: 2px;
margin-baz: 3px;
end: 4px; }
To acheive this we definitely need to keep track of the bem partial stack (to unwind it later). Indicators are if line starts with exactly one colon :
followed by one identifier.