mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-11-30 02:08:12 +08:00
0acf8cc004
Update table-v2.scss. Fix Warning Deprecation Warning: Sass's behavior for declarations that appear after nested rules will be changing to match the behavior specified by CSS in an upcoming version. To keep the existing behavior, move the declaration above the nested rule. To opt into the new behavior, wrap the declaration in `& {}`. More info: https://sass-lang.com/d/mixed-decls ╷ 44 │ ┌ .#{$namespace}-vl__vertical, 45 │ │ .#{$namespace}-vl__horizontal { 46 │ │ z-index: -1; 47 │ │ } │ └─── nested rule ... │ 89 │ z-index: 1; │ ^^^^^^^^^^ declaration ╵ ..\..\node_modules\.pnpm\element-plus@2.8.2_vue@3.5.3_typescript@5.4.5_\node_modules\element-plus\theme-chalk\src\table-v2.scss 89:5 @content ......... |
||
---|---|---|
.. | ||
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'
// ...