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

Style tags repeated excessively on shadow DOM #444

Open
ghost opened this issue Sep 26, 2022 · 0 comments
Open

Style tags repeated excessively on shadow DOM #444

ghost opened this issue Sep 26, 2022 · 0 comments
Labels
blocked bug Something isn't working

Comments

@ghost
Copy link

ghost commented Sep 26, 2022

This issue is blocked by systematic design issues with component styling. Each component has its own styles and imports global set of styles and css variables via scss import. With all components using Angular simulated shadow DOM these styles are attached as a sibling style element. When these components are used within an actual shadow DOM encapsulated component, they include the sibling style element for each component used as an inner component.

The solution would be to isolate css variables used per component and have global css variables that can override and provide shared styling. This would minimize each component styles encapsulated to what it requires and would not have many duplicate large style elements.

@ghost ghost assigned ghost and unassigned ghost Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked bug Something isn't working
Projects
None yet
Development

No branches or pull requests

0 participants