Skip to content

Instantly share code, notes, and snippets.

@BinarySpike
BinarySpike / input.css
Created June 19, 2019 05:45
A proof-of-concept postcss plugin for tailwind that adds a `@compose` at-rule that is `@apply` compliant.
@compose red-300,blue-300 {
.btn-$(1) {
@apply bg-$(1);
border: 1px solid theme("colors.$(1)");
}
}