Skip to content
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

Styles does not propagate in BudouX Web Components #280

Closed
tushuhei opened this issue Sep 9, 2023 · 0 comments · Fixed by #291
Closed

Styles does not propagate in BudouX Web Components #280

tushuhei opened this issue Sep 9, 2023 · 0 comments · Fixed by #291
Assignees

Comments

@tushuhei
Copy link
Member

tushuhei commented Sep 9, 2023

Demo: https://codepen.io/tushuhei/pen/QWzpMQK

The current implementation does not propagate global styles in the custom element because of the shadow DOM.
We may want to consider outputting the translated HTML to Light DOM instead to let users control the styles of child elements from outside of the custom element.

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 a pull request may close this issue.

1 participant