0.1.5 • Published 4 years ago
@zhmu/unocss-preset-mini v0.1.5
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-minipximport presetMiniPx from '@zhemu/unocss-preset-minipx'
Unocss({
presets: [
presetMiniPx(),
],
})License
MIT License