-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Ensure @utility is processed before using them
#15542
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 10 commits
fe95479
e39fcd6
bed5645
5380f89
05f8b1a
908955b
aa423ef
b2fbe0e
8c94d86
9b80930
0cfcfda
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -538,10 +538,8 @@ async function parseCss( | |
| node.context = {} | ||
| } | ||
|
|
||
| // Replace `@apply` rules with the actual utility classes. | ||
| features |= substituteAtApply(ast, designSystem) | ||
|
|
||
| features |= substituteFunctions(ast, designSystem.resolveThemeValue) | ||
| features |= substituteAtApply(ast, designSystem) | ||
|
Comment on lines
541
to
+542
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Swapped these two around, because
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yay |
||
|
|
||
| // Remove `@utility`, we couldn't replace it before yet because we had to | ||
| // handle the nested `@apply` at-rules first. | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.