twind
twind copied to clipboard
fix: properly normalize subtraction followed by a variable
Fixes #429
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
- [x] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason.
- [x] This message body should clearly illustrate what problems it solves.
- [x] Ideally, include a test that fails without this PR but passes with it.
Tests
- [x] Run the tests with
pnpm test
and verify the project withpnpm check
Changesets
- [x] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running
pnpx changeset
and following the prompts. All changesets should bepatch
until Twind 1.0
Open in CodeSandbox Web Editor | VS Code | VS Code Insiders
Run & review this pull request in StackBlitz Codeflow.
🦋 Changeset detected
Latest commit: ac3b5d63d64cd0766b121838a2fd457d14ad99e4
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 27 packages
Name | Type |
---|---|
@twind/core | Patch |
@twind/preset-tailwind | Patch |
@example/basic | Patch |
@example/playground | Patch |
@example/using-tailwind-forms | Patch |
@example/with-gatsby | Patch |
@example/with-lit | Patch |
@example/with-remix | Patch |
@example/with-remix_react-v18 | Patch |
@example/with-web-components | Patch |
@twind/cdn | Patch |
@twind/intellisense | Patch |
@twind/preset-autoprefix | Patch |
@twind/preset-container-queries | Patch |
@twind/preset-ext | Patch |
@twind/preset-line-clamp | Patch |
@twind/preset-radix-ui | Patch |
@twind/preset-tailwind-forms | Patch |
@twind/preset-typography | Patch |
twind | Patch |
gatsby-plugin-twind | Patch |
@twind/with-next | Patch |
@twind/with-react | Patch |
@twind/with-remix | Patch |
@twind/with-sveltekit | Patch |
@twind/with-web-components | Patch |
@sites/twind.style | Patch |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Pull Request Test Coverage Report for Build 3807553581
Warning: This coverage report may be inaccurate.
We've detected an issue with your CI configuration that might affect the accuracy of this pull request's coverage report. To ensure accuracy in future PRs, please see these guidelines. A quick fix for this PR: rebase it; your next report should be accurate.
- 11 of 11 (100.0%) changed or added relevant lines in 1 file are covered.
- No unchanged relevant lines lost coverage.
- Overall coverage increased (+0.004%) to 92.811%
Totals | |
---|---|
Change from base Build 3790257809: | 0.004% |
Covered Lines: | 10519 |
Relevant Lines: | 11336 |
💛 - Coveralls
Great. Thank you very much for taking the time. I will try, test and review soon.