mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
* feat(components): [switch] add active & inactive slots * chore: docs & tests & refact * style: icon center * style: items-center Co-authored-by: Zhong <cszhjh@gmail.com> * Update docs/en-US/component/switch.md Co-authored-by: btea <2356281422@qq.com> * Update docs/en-US/component/switch.md Co-authored-by: btea <2356281422@qq.com> --------- Co-authored-by: Zhong <cszhjh@gmail.com> Co-authored-by: btea <2356281422@qq.com>
element-theme-chalk
element component chalk theme.
Installation
npm i element-plus
Usage
Use Sass import
@use 'element-plus/lib/theme-chalk/index.scss';
Or Use vite/webpack
import 'element-plus/lib/theme-chalk/index.css'
Or
<link
rel="stylesheet"
href="https://unpkg.com/element-plus/lib/theme-chalk/index.css"
/>
Import on demand
import 'element-plus/lib/theme-chalk/input.css'
import 'element-plus/lib/theme-chalk/select.css'
// ...