Replies: 2 comments
-
I have this working with |
Beta Was this translation helpful? Give feedback.
0 replies
-
Pending the merge and release of this PR: #1004 Here is an example using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm looking for a CSS-in-JS library to use for styling custom web components. It seems as though Stitches doesn't currently have examples or instructions on if this is possible. I tried using
@stitches/core 1.0.0-canary.18
for my project and it doesn't work for elements inside a ShadowDOM. Presumably this is because Stitches puts the styles in astyle
tag in the head of whatever page it's used on and those styles can't penetrate the custom web component's ShadowDOM.Is there a way to specify that Stitches should apply styles to a custom web component's
style
tag instead of a page's globalstyle
tag?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions