feat(css): added unocss with attributify preset

This commit is contained in:
Corentin Thomasset 2023-04-06 19:36:30 +02:00 committed by Corentin THOMASSET
parent 4ccd73c2d1
commit 001031b7b5
15 changed files with 406 additions and 13 deletions

14
unocss.config.ts Normal file
View file

@ -0,0 +1,14 @@
import {
defineConfig,
presetAttributify,
presetTypography,
presetUno,
transformerDirectives,
transformerVariantGroup,
} from 'unocss';
export default defineConfig({
presets: [presetUno(), presetAttributify(), presetTypography()],
transformers: [transformerDirectives(), transformerVariantGroup()],
safelist: 'prose prose-sm m-auto text-left'.split(' '),
});