@chapanda/style-preset

chapanda style preset
2,025
Install
npm install @chapanda/style-preset@1.4.16
Latest Version:1.4.16
Vue:3
License:MIT
Last Updated:Jun 29, 2026
Links: npm
Maintainer: baiwusanyu

@chapanda/style-preset

@chapanda/style-preset 是对以下包的导出,它暴露了所有预设功能支持,只是使用时引用的路径有些许差别

@chapanda/style-preset

import { genThemeColors } from '@chapanda/style-preset'
// 等同于
// import { genThemeColors } from '@chapanda/style-preset-base'
@use '@chapanda/style-preset/theme';
// 等同于
// @use '@chapanda/style-preset-base/theme';

更多详情请参考 @chapanda/style-preset-base 文档.

@chapanda/style-preset/tailwindcss

import { chaPandaTailwindConfig } from '@chapanda/style-preset/tailwindcss'
// 等同于
// import { chaPandaTailwindConfig } from '@chapanda/style-preset-tailwind'

更多详情请参考 @chapanda/style-preset-tailwind 文档.

@chapanda/style-preset/unocss

import { presetChapandaUno } from '@chapanda/style-preset/unocss'
// 等同于
// import { presetChapandaUno } from '@chapanda/style-preset-unocss'

更多详情请参考 @chapanda/style-preset-unocss 文档.

@chapanda/style-preset/antd

import { genChaPandaAntdTheme } from '@chapanda/style-preset/antd'
// 等同于
// import { genChaPandaAntdTheme } from '@chapanda/style-preset-antd'

import '@chapanda/style-preset/theme/antd'
// 等同于
// import '@chapanda/style-preset-antd/theme'

更多详情请参考 @chapanda/style-preset-antd 文档.

@chapanda/style-preset/vant

import { genChaPandaVantTheme } from '@chapanda/style-preset/vant'
// 等同于
// import { genChaPandaVantTheme } from '@chapanda/style-preset-vant'

import '@chapanda/style-preset/theme/vant'
// 等同于
// import '@chapanda/style-preset-vant/theme'

更多详情请参考 @chapanda/style-preset-vant 文档.

@chapanda/style-preset

import  '@chapanda/style-preset/theme/element-plus'
// 等同于
// @chapanda/style-preset-ep/theme'

import '@chapanda/style-preset/theme/element-plus/components'
// 等同于
// import '@chapanda/style-preset-ep/theme/components'

更多详情请参考 @chapanda/style-preset-ep 文档.

Related Packages

@unplugin-vue-ce/sub-style

A vue plugin that extends vue's Custom Element capabilities (sub component style...

39,165 75
unplugin-vue-ce

A vue plugin that extends vue's Custom Element capabilities (v-model, child styl...

24,311 75
@unplugin-vue-ce/v-model

A vue plugin that extends vue's Custom Element capabilities (v-model)

22,716 75

Version History

Version Released License
1.4.16 MIT
1.4.15 MIT
1.4.14 MIT
1.4.13 MIT
1.4.12 MIT
Pre-releases (11)
Version Released License
1.4.17-beta.3 MIT
1.4.17-beta.1 MIT
1.4.6-beta.1 MIT
0.0.1-beta.14 MIT
0.0.1-beta.13 MIT