-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[v4] Only allow CSS variables in
@theme
(#13125)
* add `WalkAction` to indicate how the `walk` function should behave You can `Continue` its execution (the default behaviour), `Skip` walking the current node, or `Stop` walking entirely. * walk the nodes of `@theme` directly There is no need to walk the `@theme` itself or to create a temporary array here. * improvement: skip walking * only allow CSS variables inside `@theme` * update error message
- Loading branch information
1 parent
d27f4ce
commit 324273c
Showing
3 changed files
with
72 additions
and
18 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
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