pikacss-dev
Comprehensive developer workflow guide for PikaCSS monorepo maintenance, including package architecture, implementation patterns, testing strategies, and release procedures.
SKILL.md
| Name | pikacss-dev |
| Description | Comprehensive developer workflow guide for PikaCSS monorepo maintenance, including package architecture, implementation patterns, testing strategies, and release procedures. |
The API is not stable yet.
</blockquote> <br> <p align="center"> <a href="https://www.npmjs.com/package/@pikacss/core"> <img src="https://img.shields.io/npm/v/@pikacss/core?style=flat-square" alt="npm version" /> </a> <a href="https://www.npmjs.com/package/@pikacss/core"> <img src="https://img.shields.io/npm/dm/@pikacss/core?style=flat-square" alt="npm downloads" /> </a> <a href="https://img.shields.io/bundlephobia/minzip/@pikacss/core?style=flat-square"> <img src="https://img.shields.io/bundlephobia/minzip/@pikacss/core?style=flat-square" alt="minzipped size" /> </a> <a href="https://img.shields.io/github/actions/workflow/status/pikacss/pikacss/ci.yml?style=flat-square"> <img src="https://img.shields.io/github/actions/workflow/status/pikacss/pikacss/ci.yml?style=flat-square" alt="ci status" /> </a> </p> <p align="center"> <a href="https://deepwiki.com/pikacss/pikacss"> <img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki"> </a> </p>Introduction
What is PikaCSS?
PikaCSS is an Atomic CSS-in-JS engine that allow you to write style in CSS-in-JS way and output in Atomic CSS way.
Inspired by UnoCSS, WindiCSS, TailwindCSS, StylifyCSS and Fela.js!
Why PikaCSS is been created?
<details> <summary>Click to 👀 the reason</summary></details>I love the idea of Atomic CSS, there are many great Atomic CSS solutions out there, such as UnoCSS, WindiCSS, TailwindCSS, Stylify, etc.
Unfortunately, I am poor to memorize the utility class names, so UnoCSS, WindiCSS or TailwindCSS is not for me.
I am surprised by the zero learning curve concept of Stylify, but I don't like the idea of using a custom syntax to workaround the limitations of html class attribute.
To solve the problems above, the CSS-in-JS way is the best way to write styles, but it is not the best way to output styles.
So I created PikaCSS, it is a Atomic CSS-in-JS engine that allow you to write style in CSS-in-JS way and output in Atomic CSS way!
Features
- 🥰 Framework Agnostic
It is decoupled from any framework, so you can use it with any framework!
- 🛠 Zero Runtime
It transforms CSS-in-JS to Atomic CSS at build time!
⚠️ Important: All arguments passed to
pika()must be statically analyzable at build time. Runtime variables, function calls, or dynamic expressions are not supported. - 📖 Zero Learning Curve
In the simplest case, you just need to know the css property names!
- 🤖 TypeScript Auto-Completion
It has built-in TypeScript support, so you can get auto-completion!