A preset for UnoCSS, tailored for our company's needs.
yarn add -D unocss @haixee/unocss-preset
npm install --save-dev unocss @haixee/unocss-preset
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(),
],
})
Please refer to the official documentation for the list of available CSS classes.