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

Use a common CSSStyleSheet object for styles across components (themed bootstrap, CSS variables) #171

Open
Tracked by #170
maxatdetroit opened this issue Mar 5, 2024 · 0 comments
Labels
performance Improve performance of an existing feature

Comments

@maxatdetroit
Copy link
Member

maxatdetroit commented Mar 5, 2024

See MDN docs on using common CSSStyleSheet for multiple components.

The idea here would be to move the redundant per-component imports of themed bootstrap and variables CSS files into a single import statement in src/index.js that gets used by all components in their Shadow DOM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Improve performance of an existing feature
Projects
None yet
Development

No branches or pull requests

1 participant