Files
element-plus/packages/theme-chalk
Noblet Ouways 198db2a870 feat(components): [switch] add active & inactive slots (#22429)
* 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>
2025-12-13 21:40:23 +01:00
..

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'

// ...