PostCSS PostCSS plugin to compose multiple CSS selectors together like CSS modules. Primarily meant to be used with Tachyons or other atomic CSS. Currently useable, but still in heavy development.
.foo {
/* Input example */
}
.foo {
/* Output example */
}
postcss([ require('postcss-composition') ])
See PostCSS docs for examples for your environment.