@olekoderno/olewind
v0.1.1
Published
OleWind - utility-first CSS with attribute-based variants and theme generation.
Maintainers
Readme
OleWind
OleWind is a utility-first CSS package with an attribute-based runtime and configurable theme generation.
Install
npm install @olekoderno/olewindUse in a project
import "@olekoderno/olewind/olewind.css";
import "@olekoderno/olewind/olewind.theme.css";
import { initOleWind } from "@olekoderno/olewind";
initOleWind();Example HTML
<div ow="bg-primary text-white p-4 rounded-lg hover:bg-secondary">Hello from OleWind</div>Generate config
npx olewind initGenerate theme CSS
npx olewind buildExample config
export default {
theme: {
colors: {
primary: "#7C3AED",
secondary: "#E9D5FF",
alert: "#EF4444",
},
},
};