-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove the negative flag from the Candidate AST (#14938)
This PR removes the `negative` flag from the `Candidate` AST. The system itself doesn't this information at all, but it's up to each plugin to handle the `negative` flag themselves. This also means that if you _don't_ handle it, that `foo` and `-foo` results in the same CSS output. To make sure that the negative version of utilities that supported it still work, this PR also adds the negative versions as separate utilities. E.g.: `-scale` is registered in addition to `scale`. This is an internal refactor only, and doesn't change any behavior. --------- Co-authored-by: Adam Wathan <4323180+adamwathan@users.noreply.github.com>
- Loading branch information
1 parent
d325e70
commit 292efa5
Showing
7 changed files
with
365 additions
and
378 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.