mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-25 17:26:15 -04:00
feat(css): added unocss with attributify preset
This commit is contained in:
parent
4ccd73c2d1
commit
001031b7b5
15 changed files with 406 additions and 13 deletions
14
unocss.config.ts
Normal file
14
unocss.config.ts
Normal 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(' '),
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue