@zhmu/unocss-preset-minipx
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

unocss-preset-minipx

Instructions

Fork from @unocss/preset-mini, change default unit to px.

Changes From @unocss/preset-mini

  1. theme: fontSize, textIndent, textStrokeWidth
  2. theme: spacing, borderRadius
  3. theme: baseSize, (max-)widht/height
  4. border rule: border-radius
  5. flex rule: flex-basis
  6. grid rule: grid-auto, grid-gap
  7. positon rule: inset, postion(top, right, bottom, left)
  8. size rule: width, height, inline-size, block-size
  9. transform rule: transform-translate-(xyz)
  10. rule typography: text-size(font-size), leading(line-height), tracking(letter-spacing), word-spacing, indext(text-indent)
  11. 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

Readme

Keywords

Package Sidebar

Install

npm i @zhmu/unocss-preset-minipx

Weekly Downloads

0

Version

0.1.2

License

MIT

Unpacked Size

190 kB

Total Files

42

Last publish

Collaborators

  • zhmu