You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
360 B

6 months ago
import { defineConfig, presetAttributify, presetUno, transformerDirectives } from 'unocss';
export default defineConfig({
rules: [[/^line-height-(.+)$/, ([, d]) => ({ 'line-height': `${+d / 4}rem` })]],
shortcuts: [],
presets: [presetUno(), presetAttributify()],
transformers: [
transformerDirectives(),
// transformerVariantGroup(),
],
});