koishijs / webui

WebUI plugins for Koishi
https://koishi.online
GNU Affero General Public License v3.0
29 stars 14 forks source link

client: Deprecation Warning #331

Closed idranme closed 2 months ago

idranme commented 2 months ago
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

    ╷
33  │ ┌   &.disabled {
34  │ │     cursor: default;
35  │ │   }
    │ └─── nested rule
... │
38  │     color: var(--el-button-text-color);
    │     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ declaration
    ╵
    node_modules\@koishijs\client\client\components\common\k-button.vue 38:3  root stylesheet

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

    ╷
33  │ ┌   &.disabled {
34  │ │     cursor: default;
35  │ │   }
    │ └─── nested rule
... │
39  │     border: 1px solid var(--k-color-border);
    │     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ declaration
    ╵
    node_modules\@koishijs\client\client\components\common\k-button.vue 39:3  root stylesheet

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

    ╷
33  │ ┌   &.disabled {
34  │ │     cursor: default;
35  │ │   }
    │ └─── nested rule
... │
40  │     background-color: transparent;
    │     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ declaration
    ╵
    node_modules\@koishijs\client\client\components\common\k-button.vue 40:3  root stylesheet

yarn dev

Koishi: Core: 4.17.9 Console: 5.29.2