Neverending Pile of Messages

    postcss-modules-local-by-default
    DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/postcss-modules-local-by-default package

    3.0.2 • Public • Published

    Build Status codecov npm

    CSS Modules: Local by Default

    Transformation examples:

    .foo { ... } /* => */ :local(.foo) { ... }
    
    .foo .bar { ... } /* => */ :local(.foo) :local(.bar) { ... }
    
    /* Shorthand global selector */
    
    :global .foo .bar { ... } /* => */ .foo .bar { ... }
    
    .foo :global .bar { ... } /* => */ :local(.foo) .bar { ... }
    
    /* Targeted global selector */
    
    :global(.foo) .bar { ... } /* => */ .foo :local(.bar) { ... }
    
    .foo:global(.bar) { ... } /* => */ :local(.foo).bar { ... }
    
    .foo :global(.bar) .baz { ... } /* => */ :local(.foo) .bar :local(.baz) { ... }
    
    .foo:global(.bar) .baz { ... } /* => */ :local(.foo).bar :local(.baz) { ... }

    Building

    $ npm install
    $ npm test
    • Build: Build Status
    • Lines: coveralls
    • Statements: codecov

    Development

    $ npm run autotest

    License

    MIT

    With thanks


    Mark Dalgleish, 2015.

    Install

    npm i postcss-modules-local-by-default@3.0.2

    Version

    3.0.2

    License

    MIT

    Unpacked Size

    23.2 kB

    Total Files

    5

    Last publish

    Collaborators

    • markdalgleish
    • sokra
    • geelen
    • evilebottnawi