Skip to content

Conversation

@philipp-spiess
Copy link
Member

This PR fixes an issue with the regex detecting the --theme(…) function. If used within a media query with no spaces, it was not properly detecting word boundaries as characters like < etc. would be delimit properly.

Test plan

Added a unit test to ensure this does not regress.

@philipp-spiess philipp-spiess merged commit 72e97bc into main Feb 5, 2025
@philipp-spiess philipp-spiess deleted the fix/allow-hover-over-theme-fn-in-media-query-without-spaces branch February 5, 2025 18:12
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.

3 participants