We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi there!
So far I like the library! I have came across, a hopfuly small, styling issue.
In case the svelvet component is inside a custom element, in a shadow DOM the :root styles are not applied and the css variables cannot be used.
:root
Here is a reproduction on stackblitz: https://stackblitz.com/edit/svelvet-v7-b7kwdt?file=src%2Fcomponents%2Fsvelvet-comp.svelte
I've played around a bit and I think the problem can be solved if you add :host to rules where you have :root.
:host
So something like:
:root, :host{ ... }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi there!
So far I like the library!
I have came across, a hopfuly small, styling issue.
In case the svelvet component is inside a custom element, in a shadow DOM the
:root
styles are not applied and the css variables cannot be used.Here is a reproduction on stackblitz: https://stackblitz.com/edit/svelvet-v7-b7kwdt?file=src%2Fcomponents%2Fsvelvet-comp.svelte
I've played around a bit and I think the problem can be solved if you add
:host
to rules where you have:root
.So something like:
The text was updated successfully, but these errors were encountered: