Kolache
Reuse CSS packages in muliple projects and across themes
If you ever wished you could simply npm install
a bit of CSS, Kolache makes it possible. You can import snippets of CSS from your node_modules directory:
@import "kolache/core/button" as .button;
You choose the selector it imports as, so if .button
collides with a class name you’re already using, you can import to a different class name of your choosing.
Part preprocessor, part CSS framework, part package manager
Kolache will import from a relative directory or from your node_modules
.
Customize packages by setting parameter variables:
@import "button" as .button {
$color: red;
}