meduzen / --media.scss

Tomorrow’s media queries workflow, since 2019.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support Dart SASS

meduzen opened this issue · comments

commented

SASS has a new spec, and Dart SASS is now the reference implementation.

I’m taking care of this issue, which basically, involves:

  • making use of @use and @forward and rework a bit the file architecture;
  • renaming all members starting by --, because Dart SASS doesn’t allow these characters.

But I have an interrogation about which SASS implementation to support on the long run? Here are the options:

  1. Deprecate node-sass support and only do low maintenance on it while sticking its version to 0.x. On the other side, Dart SASS support would start on 1.0, which would drop node-sass support.
  2. Maintain support for both SASS implementations, requiring the user to @import double-dash.scss/legacy or @import double-dash.scss/modern depending on the spec they use.

I’m leaning towards the first option. Feedbacks welcome.

I’ll go for the first option: clearer for the library users, easier to maintain. If needed in the future, fixes and features can still be backported to 0.x.