element-plus/packages/theme-chalk
高奕GaoYi 0acf8cc004
fix(components): [table-v2] sass declaration deprecation error (#18218)
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

.........
2024-09-09 08:05:34 +08:00
..
src fix(components): [table-v2] sass declaration deprecation error (#18218) 2024-09-09 08:05:34 +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'

// ...