element-plus/packages/theme-chalk/README.md
云游君 a2dba425a0
chore(build): remove useless dependencies & use ts for gulp & add progressbar (#2792)
* refactor(theme-chalk): upgrade to ts & renive gulp-mincss with gulp-clean-css

* feat(build): add clean-css colorful log && add progressbar for webpack
2021-08-03 09:12:34 +08:00

42 lines
540 B
Markdown

# element-theme-chalk
> element component chalk theme.
## Installation
```shell
npm i element-plus
```
## Usage
Use Sass import
```css
@import 'element-plus/lib/theme-chalk/index.scss';
```
Or Use vite/webpack
```javascript
import 'element-plus/lib/theme-chalk/index.css'
```
Or
```html
<link
rel="stylesheet"
href="https://unpkg.com/element-plus/lib/theme-chalk/index.css"
/>
```
## Import on demand
```javascript
import 'element-plus/lib/theme-chalk/input.css'
import 'element-plus/lib/theme-chalk/select.css'
// ...
```