element-plus/packages/theme-chalk
sea 70b5d4fa9d
fix(theme-chalk): sass !global assignments deprecation warning (#18711)
fix(theme-chalk):  `!global assignments` deprecation warning

Co-authored-by: btea <2356281422@qq.com>
2024-11-05 10:46:46 +08:00
..
src fix(theme-chalk): sass !global assignments deprecation warning (#18711) 2024-11-05 10:46:46 +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'

// ...