Skip to content
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

Perform CSS variable resolution recursively #1168

Merged
merged 6 commits into from
Feb 5, 2025

Conversation

thecrypticace
Copy link
Contributor

@thecrypticace thecrypticace commented Feb 4, 2025

Fixes #1102

seen.add(key)
i -= 1
}
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RobinMalfait or @philipp-spiess can y'all think of a way to break this? It has the potential for infinite recursion (due to circular theme key lookups) but I guarded against it here.

I think this should be sufficient but if you could give it some thought that would be much appreciated.

@thecrypticace thecrypticace marked this pull request as ready for review February 4, 2025 20:02
Base automatically changed from fix/prefixed-equivalents to main February 5, 2025 14:58
@thecrypticace thecrypticace force-pushed the feat/recursive-lookups branch from b8e47d9 to 733c03a Compare February 5, 2025 15:08
@thecrypticace thecrypticace merged commit 4db823d into main Feb 5, 2025
@thecrypticace thecrypticace deleted the feat/recursive-lookups branch February 5, 2025 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

v4 swatches not displayed when referring variables
2 participants