Skip to content

Conversation

gregschmit
Copy link
Contributor

@gregschmit gregschmit commented May 9, 2024

Fixes #501

I ran into an issue where I could not use simple tailwind apply directives for dark mode and also couldn't import Daisy UI. I tracked it down to a problem with svelte-preprocess creating :global rules that svelte is not happy with. User https://github.com/MagDevX suggested an adjustment to globalifySelector.js combinatorPattern to prevent selectors with parenthesis from being split.

@gregschmit gregschmit force-pushed the gns/fix-globalify-selector branch from d6d1064 to 3a719d5 Compare May 9, 2024 04:50
@gregschmit
Copy link
Contributor Author

Update: I added a test that shows the problem and it fails in main but passes on this branch. I ran tests and everything passed.

Copy link
Member

@dummdidumm dummdidumm left a comment

Choose a reason for hiding this comment

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

Thank you!

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.

Global styles not supporting composed selectors like :is()

2 participants