You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.
As a future state item, I'd like this project to use the new SCSS @ use and @ forward directives for several reasons.
I'd rather not pass bourbon along with my package - I'd like to give people the option to use it themselves.
This will allow for easier / more consistent name spacing that doesn't have to be hard coded into the functions, mixins, and variables.
@ include will eventually be depreciated. Even though this is years off, I'd like to stay ahead of the curve.
Of course, One of the huge problems with moving in this direction is that libsass doesn't yet have support for SCSS modules, which means node-sass doesn't support it either. I'm not keen on requiring users to compile with dart-sass if they don't want to.
VS Code also doesn't support this change to the Sass grammar, though I believe this update is coming soon.
It may be difficult if not impossible to perform unit tests with True after this change is made because of the change in object scope. I'll need to play around with this when the time comes.
The text was updated successfully, but these errors were encountered:
VS Code has released an update to understand the new Sass grammar, so that's one down. I've moved much of the development to a new "modules" feature branch and am working on converting the project to support @ use and @ forward.
One of the problems I found with this was that Jest doesn't seem to work with sass/dart-sass. I've changed the tests to run with Mocha which has fixed the problem, and the error reporting is much better too!
In the new modules system, I've removed the dependency on bourbon and built several new functions to make the typography system more flexible.
As a future state item, I'd like this project to use the new SCSS @ use and @ forward directives for several reasons.
Of course, One of the huge problems with moving in this direction is that libsass doesn't yet have support for SCSS modules, which means node-sass doesn't support it either. I'm not keen on requiring users to compile with dart-sass if they don't want to.
VS Code also doesn't support this change to the Sass grammar, though I believe this update is coming soon.
It may be difficult if not impossible to perform unit tests with True after this change is made because of the change in object scope. I'll need to play around with this when the time comes.
The text was updated successfully, but these errors were encountered: