element-plus/packages/theme-chalk
Meet you 0e8454a99e
refactor(theme-chalk): update Sass functions to prep for 3.0.0 (#18579)
* refactor(theme-chalk): update Sass functions to prep for 3.0.0

Replaced deprecated global built-in functions with the recommended alternatives to avoid future
issues when upgrading to Dart Sass 3.0.0. This change ensures compatibility with newer versions and
removes the warning messages.

* refactor(theme-chalk): update Sass functions to prep for 3.0.0
2024-10-24 21:05:59 +08:00
..
src refactor(theme-chalk): update Sass functions to prep for 3.0.0 (#18579) 2024-10-24 21:05:59 +08:00
.gitignore
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

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'

// ...