-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace @import
by @use
?
#459
Comments
I guess at some point I should probably catch up with Sass and try to understand what’s new. 😅 |
I came here to open an issue and... I already did! I'm testing things. If I came to a conclusion, I come back and tell you! |
Alright! 😊 |
Hey, big boss! Remembering the current recommendation:
The abstracts need to be linked on every file of other folders, using @use 'config';
@forward 'constants';
@forward 'font-stacks';
@forward 'functions' with (
$my-base-url: config.$base-url,
$my-breakpoints: config.$breakpoints,
$my-font-weights: config.$font-weights,
$my-gutter: config.$gutter,
$my-palette: config.$palette,
);
@forward 'config';
@forward 'mixins'; The section 1 of the joining all file (which you insist on calling @charset 'UTF-8';
// 1. Configuration and helpers
// @use 'abstracts/constants' as *;
// @use 'abstracts/stacks' as *;
// @use 'abstracts/functions' as *;
// @use 'abstracts/config' as *;
// @use 'abstracts/mixins' as *;
[...] I'm considering to split the configurations in Too confusing? |
At this stage, yes. 😅 But I appreciate you taking the time to share your thoughts—thank you very much! I’ll try to make some time (and mind space) to come back to this issue soonish. :) |
I already found more things to improve. Soon I'll show you! |
Hello, As sass official announced the deprecation of Would you be open to a PR to propose new guidelines with Have a nice day, Elrendio |
Hello! 👋 I think we probably should, yes. However, it would be a good idea to draft version 1.4 of the Sass Guidelines, so we don’t sneak changes into the current version (1.3). By issuing a proper version 1.4 in English (including Speaking of time, I have limited of it, and more importantly haven’t worked with Sass in 5+ years, so I’m not the best person to work on future versions of Sass Guidelines unfortunately. But maybe we could open an issue and list things that should be changed? Of the top of my head, I’d say TL;DR: I’m all for updating literature around |
Amazing 🤩 and completely agree! I have a team specialized in front at my company and we're working on our guidelines. It could be the basis for Sass Guidelines (1.4). I'll create an issue by the end of the week 😊 PS: I'm very much impressed by your reaction time! |
Nice, that sounds great. Let’s move that discussion to a dedicated issue then, and we can pick it up from there. ✨ |
I would like to keep helping (in case @KittyGiraudel accepts, of course). |
@robsonsobral Obviously! The more the merrier. My only expectation for the future of Sass Guidelines is that they are considered with the same amount of care they have been until now. :) |
I came here to see a real-world project now that sass is deprecated completely |
Yes, I haven’t used Sass since 2016 so I’m out of the loop and I wouldn’t feel comfortable writing an authoritative guide on this. I’m always happy with contributions though. |
I don't even understand
@use
yet, but they say it's the future.The text was updated successfully, but these errors were encountered: