@zhmu/unocss-preset-mini
v0.1.5
Published
Fork from @unocss/preset-mini, change default unit to px.
Downloads
12
Readme
unocss-preset-minipx
Instructions
Fork from @unocss/preset-mini
, change default unit to px.
Changes From @unocss/preset-mini
- theme:
fontSize
,textIndent
,textStrokeWidth
- theme:
spacing
,borderRadius
- theme:
baseSize
,(max-)widht/height
- border rule:
border-radius
- flex rule:
flex-basis
- grid rule:
grid-auto
,grid-gap
- positon rule:
inset
,postion(top, right, bottom, left)
- size rule:
width
,height
,inline-size
,block-size
- transform rule:
transform-translate-(xyz)
- rule typography:
text-size(font-size)
,leading(line-height)
,tracking(letter-spacing)
,word-spacing
,indext(text-indent)
- spacing rule:
padding
,margin
The minimal preset for UnoCSS.
Installation
npm i -D @zhemu/unocss-preset-minipx
import presetMiniPx from '@zhemu/unocss-preset-minipx'
Unocss({
presets: [
presetMiniPx(),
],
})
License
MIT License