
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
A lightweight utility-first CSS engine built with JavaScript.
ChaiTail lets you author utility classes directly in HTML and converts them into inline styles at runtime — no compiled CSS required.
Massive Utility Expansion
Added layout constraints, directional spacing (px, py, mt, mx-auto), typography scales (text-xl, leading-loose, tracking-wide), and advanced appearance tokens (shadow-lg, opacity-80, transition-all).
Advanced Flex & Grid Control
Full flexbox mapping (flex-wrap, flex-col, items-center) and grid support.
Expanded Sizing Utilities
Added chai-h-, chai-w-, chai-gap-, chai-max-w-, chai-min-h-.
Smart Color System
Colors map through teaColors and support named colors + raw hex values.
Zero-Build Styling
Write classes like chai-p-20, chai-text-masala-chai — no CSS files needed.
Dynamic Class Parsing
chai-p-100 → padding: 100px automatically.
Lightweight & Fast Efficient DOM scanning and instant style application.
Tea-Inspired Design System Custom warm color palette (masala-chai, green-tea, etc.)
Available as npm package https://www.npmjs.com/package/chaitail
No frameworks required Built using plain JavaScript.
npm install chaitail
import { initChai } from "chaitail";
initChai();
<div class="chai-p-40 chai-bg-white chai-rounded-20 chai-shadow-lg chai-max-w-600 chai-mx-auto">
<h1 class="chai-text-4xl chai-text-masala-chai chai-font-bold chai-tracking-tight">
Hello ChaiTail!
</h1>
<p class="chai-text-md chai-text-dark-tea chai-leading-relaxed chai-mt-20">
This component was styled completely without CSS files or inline style tags.
</p>
</div>
ChaiTail works best with modern bundlers like Vite.
npm create vite@latest
cd your-project
npm install
npm install chaitail
main.jsimport { initChai } from "chaitail";
initChai();
npm run dev
chai-ChaiCSS.jspx-, bg-, max-w-, etc.)chai-* classeschai-flex, chai-flex-col, chai-items-center, chai-justify-centerchai-mx-auto → margin: 0 autochai-w-full, chai-h-full, chai-max-w-1200, chai-min-w-300chai-z-10, chai-relative, chai-overflow-hiddenchai-pt-20, chai-pb-20, chai-px-40, chai-py-40chai-mt-20, chai-gap-20chai-p-[val], chai-m-[val]chai-text-xs → chai-text-6xlchai-font-bold, chai-font-lightchai-text-center, chai-text-rightchai-tracking-tight, chai-tracking-widechai-leading-tight, chai-leading-relaxedchai-uppercase, chai-no-underlinechai-bg-red, chai-bg-#ff0000, chai-bg-masala-chaichai-text-white, chai-text-#fffchai-opacity-60, chai-opacity-80chai-shadow-md, chai-shadow-lg, chai-shadow-xlchai-border-light, chai-border-dashed, chai-border-nonechai-rounded-[val], chai-rounded-fullchai-transition-allchai-translate-y-[val], chai-translate-x-[val]chai-cursor-pointerchaitail/
├── src/
│ ├── index.js
│ ├── applyClass.js
│ ├── ChaiCSS.js
│ └── teaColors.js
└── package.json
Vishal Patil
If you like this project, give it a ⭐ on GitHub!
FAQs
A lightweight utility first CSS framework
The npm package chaitail receives a total of 9 weekly downloads. As such, chaitail popularity was classified as not popular.
We found that chaitail demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.