element-plus/packages/theme-chalk
2022-02-07 16:46:26 +08:00
..
src fix: [el-pagination] fix justify alignment (#5814) 2022-02-07 16:46:26 +08:00
.gitignore feat(theme-chalk): use @use instead of @import & remove /**/ comment (#3696) 2021-09-28 20:42:12 +08:00
gulpfile.ts chore(docs): fix buildThemeChalk comment (#5426) 2022-01-17 15:43:07 +08:00
package.json chore(deps): update dependency gulp-sass to v5.1.0 (#5066) 2021-12-31 10:44:22 +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

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'

// ...