1.0.1 • Published 3 years ago
element-ui-custom-theme v1.0.1
该包运行依赖于color
包, 可以实现不依赖后端的前端element-ui换肤方案
npm i color element-ui-custom-theme --save
import transferTheme from 'element-ui-custom-theme'
transferTheme(options)
options | 说明 |
---|---|
primary | 主色 |
success | 成功 |
warning | 警告 |
danger | 危险 |