Skip to content

tenbits/auto-bem-mask

Repository files navigation

Auto BEM Modules and Bem Decorators

Refer also to Auto-Bem

Build Status

Mask

import 'Foo.less' as bem;

define MyFoo { 
    [bem]
    section .active {
        header > 'Hello'
        button .fab > 'Do smth'
    }
}
section {
    background: red;
    header {
        font-weight: bold;        
    }
    .fab {
        border-radius: 50%;
    }
}
section.active {
    header {
        color: black;
    }
    .fab {
        text-transform: uppercase;
    }
}

❤️ We love any kind of questions and suggestions.

©️ 2017 - MIT

About

Auto Scoped Css for Mask CSS Modules

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published