@dknight/puff
Version:
Full-featured, lightweight CSS framework that maintained
76 lines (50 loc) âĒ 1.89 kB
Markdown
> [!WARNING]
> This is still a beta version; no feature compatibility is guaranteed.

# puff
[](https://github.com/dknight/puff/blob/main/LICENSE)
[](https://www.npmjs.com/package/@dknight/puff)
[](https://github.com/dknight/puff/blob/main/dist/puff.min.css.gz)
***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](https://dknight.github.io/puff/)
## 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.
```html
<link rel="stylesheet" href="puff.min.css" />
```
or install it from <a href="https://www.npmjs.com/package/puff">NPM</a>.
```sh
npm install @dknight/puff
```
## Usage
For detailed usage instructions, please go to the [documentation page](https://dknight.github.io/puff/).
## Development
### Build
```sh
npm run build
```
### Watch for changes
```sh
npm run watch
```
### Serve
```sh
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