-
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.
Allow negative utility names in
@utilty
(#15573)
This PR fixes an issue where static utilities defined via `@utility` wasn't possible if the name starts with `-`. There are plenty of static utilities that start with `-`, but it wasn't possible to register them via the `@utility` directive, only via the JS API. Example of a core utility that is now valid: ```css @Utility -inset-full { inset: -100%; } ```
- Loading branch information
1 parent
8d03db8
commit 76151d4
Showing
3 changed files
with
23 additions
and
1 deletion.
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
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