Skip to content

dknight/puff

Repository files navigation

Warning

This is still a beta version; no feature compatibility is guaranteed.

puff

puff

License MIT Version Size

puff is a micro full-featured CSS framework for quick UI prototyping. puff is based on design tokens. Combining just several tokens gives an almost limitless number of UI combinations.

Documentation

Features

  • 🪶 Lightweight ~2kb (minified + gzipped)
  • 🚀 Easy to install and launch
  • 🚂 No dependencies
  • 🌐 Supports all modern browsers
  • 📐 Classic 12-column grid
  • 🧱 Design tokens based
  • 🔩 Customize with CSS custom properties
  • 🌙 Dark them included
  • 💬 Dialog and dropdown out-of-box
  • 🟩 Valid semantics
  • 👨‍👩‍👦‍👦 Accessible
  • 🖨️ Sustainable printing

Install

Installation is straightforward; just include the CSS file into your HTML page in any possible way.

<link rel="stylesheet" href="puff.min.css" />

or install it from NPM.

npm install @dknight/puff

Usage

For detailed usage instructions, please go to the documentation page.

Development

Build

npm run build

Watch for changes

npm run watch

Serve

npn run serve

Contribution

Any help is appreciated. Found a bug, typo, inaccuracy, etc.? Please do not hesitate to make a pull request or issue.

License

MIT 2023