mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-21 01:02:59 +08:00
0e8454a99e
* 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 |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
gulpfile.ts | ||
package.json | ||
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'
// ...