element-plus/packages/theme-chalk
zepeng 465f6d4140
fix(components): [date-picker] add the vertical-align attribute to d… (#14798)
fix(components): [date-picker] add the vertical-align attribute  to date-editor
2023-11-14 20:15:49 +08:00
..
src fix(components): [date-picker] add the vertical-align attribute to d… (#14798) 2023-11-14 20:15:49 +08:00
.gitignore feat(theme-chalk): use @use instead of @import & remove /**/ comment (#3696) 2021-09-28 20:42:12 +08:00
gulpfile.ts docs: add dark mode usage & compile dark/css-vars.css (#7513) 2022-05-05 19:56:10 +08:00
package.json chore(deps): update all non-major dependencies (#8484) 2022-06-28 06:34:17 +08:00
README.md feat(theme-chalk): use @use instead of @import & remove /**/ comment (#3696) 2021-09-28 20:42:12 +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'

// ...