Spiderpig86 / Cirrus

:cloud: The SCSS framework for the modern web.
https://www.cirrus-ui.com/
MIT License
1.38k stars 75 forks source link

Investigate Sass >= 1.77.x Compatibility, Path Forwarding, etc. #311

Closed Spiderpig86 closed 1 day ago

Spiderpig86 commented 1 month ago
          @Spiderpig86  manually installed it and had to change the syntax 
@forward "./absolute";

to

@forward "absolute";

to get things working again. Just to note that I receive these DEPRECATION WARNINGS

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

┌──> node_modules/cirrus-ui/src/components/forms.scss

30 │ background-color: rgba(0, 224, 0, 0.05) !important;

│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ declaration

┌──> node_modules/cirrus-ui/src/internal/_mixins.scss

26 │ ┌ &:focus {

27 │ │ box-shadow: 0 0 0 0.2rem transparentize(api.fill('success'), 1 - theme.$focus-opacity),

28 │ │ inset 0px 1px 8px rgba(0, 0, 0, 0.07);

29 │ │ }

│ └─── nested rule

node_modules/cirrus-ui/src/components/forms.scss 30:13  cirrus-input()

node_modules/cirrus-ui/src/components/forms.scss 147:9  @use

node_modules/cirrus-ui/src/builds/core.scss 12:1        @forward

cirrus-ui/src/cirrus-ext.scss 5:1                       @use

Originally posted by @karneaud in https://github.com/Spiderpig86/Cirrus/issues/100#issuecomment-2381644602

Spiderpig86 commented 1 month ago

Thanks for letting me know. Let me cut a new issue for the deprecation warning, forwarding paths, etc. It may end up being addressed in 0.8.0 (or even 0.7.2-patch2 if needed) since 0.8.0 is a sizable departure from 0.7.x and before.

From previous issue

Spiderpig86 commented 1 day ago

This has been resolved via commits 316b595ef26e8687b56712e41c5f7c34a475126c, 3e63e4ecacc850e6ed0c3f1e5ee6ef3d925d32f0, df2c9c8992a5a1522d6bce35ee4027d30a446767, a9ac5c25cde3d9db216bd0561460005f402228ae, and 10b4212d1e46be34c98037afac691494239baf21 for 0.8.0. For earlier builds, those will still rely on older versions of Sass as they will be deprecated with the release of 0.8.0