-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
[Code Improvement]: Use @use instead of @import in scss files #46
Comments
I need some practice in SCSS haha |
That is a lame decision 😕. |
If I read this correctly, "Dart Sass" is the standard version you get from I used Edit: I see we're using node-sass. I wonder what's different between the two Edit 2: node-sass is deprecated |
Oh interesting 🤔. |
I upgraded to When I just change the index.scss file to use I'll try to slowly work through it and modernise it a bit, I see a few things that can be optimised |
I'm struggling with src\scss\material-dashboard\bootstrap\scss_custom-forms.scss on line 65:
You can't just subtract a rem value from a number according to sass:
I don't know what exactly this calculation is supposed to do, maybe we can just hardcode a |
Also the formatting is not consistent, some files are intented with 2 spaces, others with 4 spaces |
🤷♀️ making it rem sounds good to me. Everything in the material-dashboard folder is from a theme, the files that are formatted differently are probably the ones I made a change in and the formatter took over 😋 |
Sass writes on their website:
The text was updated successfully, but these errors were encountered: