element-plus/packages/theme-chalk
知晓同丶 9f2434f94d
fix(theme-chalk): replace gulp-clean-css with cssnano (#16056)
* fix(theme-chalk): replace `gulp-clean-css` with `cssnano`
closed #15686

* fix(theme-chalk): disable `colormin` to prevent color values changed

* Update packages/theme-chalk/gulpfile.ts

Co-authored-by: btea <2356281422@qq.com>

* fix(theme-chalk): disable `minifyFontValues` to prevent font values changed

---------

Co-authored-by: btea <2356281422@qq.com>
2024-03-19 15:44:20 +08:00
..
src style: remove duplicate style (#16154) 2024-03-17 21:31:07 +08:00
.gitignore feat(theme-chalk): use @use instead of @import & remove /**/ comment (#3696) 2021-09-28 20:42:12 +08:00
gulpfile.ts fix(theme-chalk): replace gulp-clean-css with cssnano (#16056) 2024-03-19 15:44:20 +08:00
package.json fix(theme-chalk): replace gulp-clean-css with cssnano (#16056) 2024-03-19 15:44:20 +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'

// ...