@unifydev/preset-bg
TypeScript icon, indicating that this package has built-in type declarations

0.0.3-beta.0 • Public • Published

Preset-BG

UI Background.

This presset is a customizable collection of gradient, grid, radial background by bg.ibelick.com

Credit

Usage

Installation

npm i -D @unifydev/preset-bg

Note that PresetUI is a dev dependency

Config

In you uno.config.(js|ts) :

...
// import the packages
import {presetBg} from '@unifydev/preset-bg'

export default defineConfig({
  // ...config
  presets: [
    //other presets
    presetBg()
  ],
});

Use it

Now you can use :

Grid

<div class="relative size-screen">
  <span aria-hidden="true" class="absolute size-full ui-grid-dotted ui-grid-dotted-bg-size-xl ui-grid-dotted-bg-gray950 text-blue"></span>
</div>

Contributing

If you're interested in contributing to Unify-UI, please read our contributing docs before submitting a pull request.

Join Our Community 🌍

Contribute, collaborate, and become a part of our mission 🚀

Package Sidebar

Install

npm i @unifydev/preset-bg

Weekly Downloads

4

Version

0.0.3-beta.0

License

MIT

Unpacked Size

37.4 kB

Total Files

10

Last publish

Collaborators

  • johnkat-mj