1.4.9 • Published 10 months ago

@chapanda/style-preset-unocss v1.4.9

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@chapanda/style-preset-unocss

基于中心规范基础结合 unocss 的样式预设,它实现了和 @chapanda/style-preset-base几乎一样的样式预设.

使用

unocss.config.ts 配置文件中添加预设 presetChapandaUno

import { presetChapandaUno } from '@chapanda/style-preset-unocss'
import { defineConfig } from 'unocss'
import { presetUno  } from 'unocss'
export default defineConfig({
  theme: {
    colors: {
      'baiwu': '#00ffff'
    }
  },
  presets: [
    presetUno(),
    presetChapandaUno()
  ]
})

API

presetChapandaUno

import { Theme } from '@unocss/preset-uno';
import { UserConfig, Preset } from 'unocss';
declare function presetChapandaUno<T extends object = Theme>(): Preset<Theme>;

参考

关于全局样式(布局对齐、字体、颜色变量等)请阅读 @chapanda/style-preset-base 文档

1.4.6

11 months ago

1.4.4

11 months ago

1.4.3

12 months ago

1.4.2

12 months ago

1.4.1

12 months ago

1.4.9

10 months ago

1.4.8

10 months ago

1.4.7

10 months ago

1.4.6-beta.1

11 months ago

1.4.0

1 year ago

1.3.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago

0.0.1-beta.9

1 year ago

1.2.4

1 year ago

1.2.3

1 year ago

1.2.2

1 year ago

1.3.0

1 year ago

1.2.1

1 year ago

0.0.1-beta.10

1 year ago

0.0.1-beta.12

1 year ago

0.0.1-beta.11

1 year ago

0.0.1-beta.14

1 year ago

0.0.1-beta.13

1 year ago

0.0.1-beta.8

1 year ago

0.0.1-beta.1

1 year ago

0.0.0

1 year ago