element-plus/packages/theme-chalk
三咲智子 0636e1e240
style: add import and stricter lint (#3440)
* style: add import lint

* chore: apply eslint rules

* chore: add stricter lint

* chore: lint all files

* auto fix

* manually fix

* restore build-indices.ts
2021-09-17 15:27:31 +08:00
..
src style(components): add css var width & margin-top for dialog (#3431) 2021-09-16 23:01:22 +08:00
.gitignore Feat/scss (#212) 2020-08-28 11:09:05 +08:00
gulpfile.ts style: add import and stricter lint (#3440) 2021-09-17 15:27:31 +08:00
package.json chore(project): upgrade dependencies to latest minor (#3242) 2021-09-05 19:57:35 +08:00
README.md chore(build): remove useless dependencies & use ts for gulp & add progressbar (#2792) 2021-08-03 09:12:34 +08:00
tsconfig.json chore(build): remove useless dependencies & use ts for gulp & add progressbar (#2792) 2021-08-03 09:12:34 +08:00

element-theme-chalk

element component chalk theme.

Installation

npm i element-plus

Usage

Use Sass import

@import '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'

// ...