mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-27 02:01:15 +08:00
35c90180d1
* refactor(components): use css var to set menu global style * fix(components): remove useless value & change camelCase & test file * test: comment code that can not test final style * test: fix unused-vars lint * feat: add computed for useMenuCssVar * test(components): revert test file * fix(components): use computed value |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
gulpfile.ts | ||
package.json | ||
README.md | ||
tsconfig.json |
element-theme-chalk
element component chalk theme.
Installation
npm i element-plus
Usage
Use Sass import
@import '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'
// ...