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
feat(core): add ScopedStylesMixin #1613
Conversation
🦋 Changeset detectedLatest commit: a338271 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
b605a25
to
57d2c62
Compare
|
I think that feature might be able to be implemented via an Lit controller... care to try it out? |
|
You also need to update the input-range docs:
|
|
Hm yeah I'll give it a shot |
a9658d9
to
006a47e
Compare
|
Looks like I succeeded :) |
|
Ah crap I meant to squash and merge, 3 redundant commit messages now :P my bad |
What I did
I have a use case where I could really use this scoped styles mixin:
I got a custom-element which relies on tailwind (global stylesheet) so I must use
createRenderRoot -> thisand make it render to LightDOM. However, there's custom styles that I'd still prefer to have scoped to prevent style conflicts/leakages.