@haixee/unocss-preset
v0.0.10
Published
Haixee Frontend Team Opinionated UnoCSS Presets
Downloads
32
Readme
unocss-preset-haixee
A preset for UnoCSS, tailored for our company's needs.
Installation
yarn add -D unocss @haixee/unocss-preset
npm install --save-dev unocss @haixee/unocss-preset
Usage
Import the preset in your uno.config.*
files (e.g. uno.config.ts
):
import { presetHaixee } from '@haixee/unocss-preset'
import { defineConfig, presetUno } from 'unocss'
export default defineConfig({
presets: [
presetUno(), // Or other official presets
presetHaixee(),
],
})
CSS Classes
Please refer to the official documentation for the list of available CSS classes.