0.0.4 • Published 1 year ago

@taiyuuki/unocss-preset v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@taiyuuki/unocss-preset

Install

npm i @taiyuuki/unocss-preset -D
// uno.config.js
import {
  defineConfig,
  presetUno,
  presetAttributify,
  presetIcons,
} from 'unocss'
import { presetTaiyuuki } from '@taiyuuki/unocss-preset'

export default defineConfig({
  presets: [
    presetAttributify({}),
    presetUno(),
    presetIcons(),
    presetTaiyuuki(),
  ]
})

rules

PrefixCSS
borderborder
border-widthborder-width
border-colorborder-color
border-radiusborder-radius
shadowbox-shadow
wwidth
w-minmin-width
hheight
h-minmin-height
mmargin
m-xmargin-right margin-left
m-ymargin-top margin-bottom
m-tmargin-top
m-rmargin-right
m-bmargin-bottom
m-lmargin-left
ppadding
p-xpadding-right padding-left
p-ypadding-top padding-bottom
p-tpadding-top
p-rpadding-right
p-bpadding-bottom
p-lpadding-left
pstposition
pst-ttop
pst-rright
pst-bbottom
pst-lleft
z-indexz-index
flexflex
flex-rowflex-direction
rowflex-direction
flex-columnflex-direction
columnflex-direction
text-colorcolor
text-weightfont-weight
text-aligntext-align
text-verticalvertical-align
bgbackground
bg-repeatbackground-repeat
bg-positionbackground-position
bg-sizebackground-size
bg-colorbackground-color
displaydisplay
gapgap
icon-colorfill
overflowoverflow
overflow-xoverflow-x
overflow-yoverflow-y
opacityopacity
filterfilter
obj-fitobject-fit
obj-containobject-contain
0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago