swagger-api / swagger-api/swagger-ui
deprecation warning for `tachyons-sass`
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 29k
- Forks
- 9.3k
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 25
Description
Content & configuration
n/a
Is your feature request related to a problem?
First observed in this PR #7362 ... Cypress reports a deprecation warning:
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)
Describe the solution you'd like
An issue was created here
However, tachyons-sass was last updated Nov 13, 2018, and very possibly is no longer maintained.
Describe alternatives you've considered
Options include forking or replacement with alternative solution.
Additional context
from description
"Don't like postss? Tachyons-sass is a sass port of the entire framework"
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at src/style/main.scss and inspect the tachyons-sass dependency, especially the _widths.scss stack shown in the warning. Review tachyons-sass issue #55 and determine whether a fork or replacement is the chosen path. Done means the Cypress build no longer emits the Dart Sass slash-division deprecation warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cypress, sass
- Domain
- build-system, frontend
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100