tachyons-sass
tachyons-sass copied to clipboard
deprecation warning with dart-sass
Hello, I just switched from node-sass
to (dart)sass
, and now I see this warning in my Cypress tests:
More info and automated migrator: https://sass-lang.com/d/slash-div
╷
98 │ .w-two-thirds-ns { width: (100% / 1.5); }
│ ^^^^^^^^^^
╵
node_modules/tachyons-sass/scss/_widths.scss 98:30 @import
node_modules/tachyons-sass/tachyons.scss 72:10 @import
src/style/main.scss 3:13 root stylesheet
DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div(100%, 3)
There's actually quite a few warnings of similar nature.
Context: Libsass/Node Sass is deprecated
@tim-lai
I fix this issue in the PR but it keep long open so you can use alternative reference to the following repository by installing as
yarn add --dev kedarvijaykulkarni/tachyons-sass#fix/deprecation-warning-with-dart-sass
@tim-lai my PR is get merged you can take latest now
The Github Repo is fixed, but it seems that the npm module still has not been updated, isn't it? Could someone do so?
@johno Please make a new release :)
Seems like the project is dead :/ I hope Swagger considers changing to a different framework.
A new version would be great--thanks!
@mrmrs This issue is fixed on main branch but not published to npm, could we publish it? Thanks!