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
╷
3 │ ┌ @media (prefers-color-scheme: dark) {
4 │ │ --selectable: #fc9;
5 │ │ }
│ └─── nested rule
... │
7 │ cursor: default;
│ ^^^^^^^^^^^^^^^ declaration
╵
components/Selectable.module.scss 7: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
╷
3 │ ┌ @media (prefers-color-scheme: dark) {
4 │ │ --selectable: #fc9;
5 │ │ }
│ └─── nested rule
... │
8 │ color: var(--selectable);
│ ^^^^^^^^^^^^^^^^^^^^^^^^ declaration
╵
components/Selectable.module.scss 8: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
╷
3 │ ┌ @media (prefers-color-scheme: dark) {
4 │ │ --selectable: #fc9;
5 │ │ }
│ └─── nested rule
... │
9 │ text-wrap: nowrap;
│ ^^^^^^^^^^^^^^^^^ declaration
╵
components/Selectable.module.scss 9:3 root stylesheet
npm start
produces: