element-plus/packages/theme-chalk
2021-10-24 22:47:39 +08:00
..
src feat(components): add space between two characters in Chinese (#3992) 2021-10-24 22:47:39 +08:00
.gitignore feat(theme-chalk): use @use instead of @import & remove /**/ comment (#3696) 2021-09-28 20:42:12 +08:00
gulpfile.ts build: refactor each package build (#3709) 2021-09-28 20:28:47 +08:00
package.json Revert "build!: simplify build & support native esm import (#3900)" (#3945) 2021-10-20 09:42:32 +08:00
README.md feat(theme-chalk): use @use instead of @import & remove /**/ comment (#3696) 2021-09-28 20:42:12 +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

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

// ...