katoikia-app/web-ui/web-react/node_modules/postcss-modules-local-by-de...
Maria Sanchez 5abf040b42 fix web ui template 2022-07-05 22:15:11 -06:00
..
CHANGELOG.md fix web ui template 2022-07-05 22:15:11 -06:00
LICENSE fix web ui template 2022-07-05 22:15:11 -06:00
README.md fix web ui template 2022-07-05 22:15:11 -06:00
index.js fix web ui template 2022-07-05 22:15:11 -06:00
package.json fix web ui template 2022-07-05 22:15:11 -06:00

README.md

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.