reznaeous
KPCKevin Powell - Community
•Created by ilyes on 2/8/2025 in #front-end
sass file structure using @use and @forward
Yup, I brain farted big time.
@forward
is what I meant to show using in util/_index.scss
instead of @use
, with @use
in the /style.scss
Trying to juggle too many things at the same time, I think.5 replies
KPCKevin Powell - Community
•Created by ilyes on 2/8/2025 in #front-end
sass file structure using @use and @forward
Basically, in
util/_index.scss
you want something like:
Then in your /style.scss
you would put @use util";
That basically says to go look in the util subdirectory for an _index.scss
and bring in whatever is in there. I don't think there's really any need for the intermediate step of the /_index.scss
file.5 replies